py21cmsense.beam.GaussianBeam

class py21cmsense.beam.GaussianBeam(frequency: Quantity, dish_size: Quantity)[source]

A simple Gaussian Primary beam.

Parameters:
  • frequency (astropy.units.quantity.Quantity) – The fiducial frequency at which the beam operates, assumed to be in MHz unless otherwise defined.

  • dish_size (astropy.units.quantity.Quantity) – The size of the (assumed circular) dish, assumed to be in meters unless otherwise defined. This generates the beam size.

Methods

__init__(frequency, dish_size)

Method generated by attrs for class GaussianBeam.

at(frequency)

Get a copy of the object at a new frequency.

clone(**kwargs)

Create a new beam with updated parameters.

from_uvbeam()

Construct the beam from a pyuvdata.UVBeam object.

new(**kwargs)

Return a clone of this instance, but change kwargs.

Attributes

area

The integral of the beam over angle, in sr.

b_eff

Get the effective beam area (Parsons 2014).

dish_size_in_lambda

The dish size in units of wavelengths.

first_null

The angle of the first null of the beam.

fwhm

The full-width half maximum of the beam.

sq_area

The integral of the squared beam, in sr.

uv_resolution

The appropriate resolution of a UV cell given the beam size.

wavelength

The wavelength of the observation.

width

The width of the beam (i.e. sigma), in radians.

dish_size

frequency