py21cmsense.beam.GaussianBeam

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

A simple Gaussian Primary beam.

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

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

Methods

__init__(self, frequency, dish_size)

Initialize self.

area(self[, freq])

The integral of the beam over angle, in sr.

b_eff(self[, freq])

Effective beam area (Parsons 2014)

dish_size_in_lambda(self[, freq])

The dish size in units of wavelengths, for a given frequency.

first_null(self[, freq])

The angle of the first null of the beam.

from_uvbeam()

fwhm(self[, freq])

The full-width half maximum of the beam

new(self, \*\*kwargs)

Return a clone of this instance, but change kwargs

sq_area(self[, freq])

The integral of the squared beam, in sr

width(self[, freq])

The width of the beam (i.e.

Attributes

uv_resolution

The appropriate resolution of a UV cell given the beam size