ArrayWand and WandProjector¶
Documented methods¶
-
class
moby2.pointing.
ArrayWand
(ctime, az, alt, fplane, proj_type='tangent', polarized=False, ref_coord=None, weather=None, hwp_angle=None)[source]¶ Encapsulation of pointing data necessary for ArrayWand pointing approximation.
-
classmethod
for_tod
(tod, coords='tangent', ref_coord=(0.0, 0.0, 0.0), polarized=False, hwp=None)[source]¶ Like the default constructor, but boresight pointing is taken from tod.
-
classmethod
for_tod_source_coords
(tod, ref_coord=(0.0, 0.0), polarized=False, warning_distance=0.16666666666666666, scan_coords=False, hwp=None)[source]¶ Get ArrayWand for tod, in tangent plane coordinates centered on the provided ref_coord=(ra,dec), and possibly including a rotation that makes the X axis parallel to the scan direction.
A warning is issued if the TOD does not scan within warning_distance (degrees) of the ref_coord.
-
get_coords
(focal_plane, get_coords=True, get_rot=False, get_pol=False)[source]¶ Get coordinates at positions in focal_plane which should be a FocalPlane object.
Returns tuple of pointing vectors; a subset of:
x, y, cos_gamma, sin_gamma, cos_2gamma, sin_2gamma
If get_coords==False, x and y are excluded.
If get_rot==False, cos_gamma and sin_gamma are excluded.
If get_pol==False, cos_2gamma and sin_2gamma are excluded.
-
get_pointing
(focal_plane, get_coords=True, get_rot=False, get_pol=False)¶ Get coordinates at positions in focal_plane which should be a FocalPlane object.
Returns tuple of pointing vectors; a subset of:
x, y, cos_gamma, sin_gamma, cos_2gamma, sin_2gamma
If get_coords==False, x and y are excluded.
If get_rot==False, cos_gamma and sin_gamma are excluded.
If get_pol==False, cos_2gamma and sin_2gamma are excluded.
-
classmethod