receptorAngles
Return to directory of Todd's CASA extensions
Reads and summarizes the RECEPTOR_ANGLE column of the FEED table of a
measurement set, as a list of angles associated with each antenna. These angles are stored in radians.
If there are multiple receiver bands in a measurement set, then multiple angles will be shown. See also
fixReceptorAngles.
Usage:
au.receptorAngles(vis)
Returns:
- the median value as an array of 2 values, unless that median is [0,90] or [0,pi/2] in which case it returns None.
Example:
CASA <4>: au.receptorAngles('uid___A002_Xaa5ac2_X1f2.ms')
Antenna Receptor_angle (= converted to degrees)
0 CM01 [-0.93462381 0.63617251] ( = [-53.55 36.45])
1 CM04 [-0.93462381 0.63617251] ( = [-53.55 36.45])
2 CM05 [-0.93462381 0.63617251] ( = [-53.55 36.45])
3 CM06 [-0.93462381 0.63617251] ( = [-53.55 36.45])
4 CM07 [-0.93462381 0.63617251] ( = [-53.55 36.45])
5 CM08 [-0.93462381 0.63617251] ( = [-53.55 36.45])
6 CM10 [-0.93462381 0.63617251] ( = [-53.55 36.45])
7 CM11 [-0.93462381 0.63617251] ( = [-53.55 36.45])
Out[4]: array([-0.93462381, 0.63617251])
--
ToddHunter - 2015-09-21