grasp2alm.BeamPolar#
- class grasp2alm.BeamPolar(nphi: int, ntheta: int, theta_rad_min: float, theta_rad_max: float, filename: str)[source]#
Represents beams of Stokes parameters.
Type to store Stokes parameters of a beam on a spherical polar(:math:` heta`,:math:phi) grid. This type is an input to the spherical harmonic transform. Internally, this package uses the ‘Ludwig 3’ definition for thepolarisation basis with the co-polar (positive \(Q\)) direction aligned with the y-axis.
- Parameters:
nphi (int) – Number of \(\phi\) values.
ntheta (int) – Number of :math:` heta` values.
theta_rad_min (float) – Minimum :math:` heta` value in radians.
theta_rad_max (float) – Maximum :math:` heta` value in radians.
stokes (numpy.ndarray) – Array of shape (4,
nphi,ntheta) representing the Stokes parameters (\(I\),:math:Q,:math:U,:math:V).filename (str) – Name of the file.
- __init__(nphi: int, ntheta: int, theta_rad_min: float, theta_rad_max: float, filename: str)[source]#
Methods