py21cmsense.beam.PrimaryBeam¶
- class py21cmsense.beam.PrimaryBeam(frequency: Quantity)[source]¶
A Base class defining a Primary Beam and the methods it requires to define.
Required methods on subclasses are
area()
,width()
,first_null()
,sq_area()
anduv_resolution()
..Note that 21cmSense currently only uses the beam width as a means to calculate the beam-crossing time, so precise shape is not very important. For that reason, it is not very important to implement beam sub-classes.
Methods
__init__
(frequency)Method generated by attrs for class PrimaryBeam.
at
(frequency)Get a copy of the object at a new frequency.
Generate the beam object from a
pyuvdata.UVBeam
object.new
(**kwargs)Return a clone of this instance, but change kwargs.
Attributes
sr].
Get the effective beam area (Parsons 2014).
An approximation of the first null of the beam.
The area of the beam^2.
The UV footprint of the beam.
rad].