Usage of angularSeparationOfFields

Return to directory of Todd's CASA extensions

Reads an ms and computes the angular separation of all fields, or only between those field names or IDs specified in the 'fields' parameter and the rest of the fields. The fields parameter can be either a list of IDs or names, or an individual ID or name. It computes great circle angle using the Vincenty formula.

See also elevationSeparationOfFields and angularSeparationOfTwoFields.

See also angularSeparationOfScans, angularSeparationOfStrings, angularSeparationOfPlanets, angularSeparationOfDirections, angularSeparation, angularSeparationRadians, and angularSeparationRadiansTuples.

Usage:

au.angularSeparationOfFields(ms='', fields=[])
Returns:
  • The maximum value of separation between phasecal and science targets (in degrees)

Examples:

CASA <6>: au.angularSeparationOfFields('uid___A002_X49a70a_X4d8.ms.split', fields=[2])
Field =              Names                 Separations
00-02 =       J1924-292-      J2056-472:  25.2407 deg =  90866.4 arcsec
01-02 =         Neptune-      J2056-472:  39.6064 deg =   142583 arcsec
02-03 =       J2056-472-     SPT2031-51:  5.71699 deg =  20581.2 arcsec
02-04 =       J2056-472-     SPT2048-55:  8.19121 deg =  29488.3 arcsec
02-05 =       J2056-472-     SPT2052-56:   8.9698 deg =  32291.3 arcsec
02-06 =       J2056-472-     SPT2103-60:  13.3412 deg =  48028.4 arcsec
02-07 =       J2056-472-     SPT2132-58:    12.11 deg =  43595.9 arcsec
02-08 =       J2056-472-     SPT2134-50:  6.89942 deg =  24837.9 arcsec
02-09 =       J2056-472-     SPT2146-56:  11.9061 deg =  42862.1 arcsec
02-10 =       J2056-472-     SPT2146-55:  11.1528 deg =    40150 arcsec
02-11 =       J2056-472-     SPT2147-50:  9.01741 deg =  32462.7 arcsec
02-12 =       J2056-472-J2200-5520 ICRF:  12.8911 deg =  46408.1 arcsec

CASA <7>: au.angularSeparationOfFields('uid___A002_X49a70a_X4d8.ms',fields=['Neptune'])
Field =              Names                 Separations
00-01 =       J1924-292-        Neptune:  43.6476 deg =   157131 arcsec
01-02 =         Neptune-      J2056-472:  39.6064 deg =   142583 arcsec
01-03 =         Neptune-     SPT2031-51:  45.2096 deg =   162755 arcsec
01-04 =         Neptune-     SPT2048-55:  47.1953 deg =   169903 arcsec
01-05 =         Neptune-     SPT2052-56:  47.6478 deg =   171532 arcsec
01-06 =         Neptune-     SPT2103-60:  50.9478 deg =   183412 arcsec
01-07 =         Neptune-     SPT2132-58:  47.3815 deg =   170573 arcsec
01-08 =         Neptune-     SPT2134-50:  39.7853 deg =   143227 arcsec
01-09 =         Neptune-     SPT2146-56:  45.2506 deg =   162902 arcsec
01-10 =         Neptune-     SPT2146-55:  44.1127 deg =   158806 arcsec
01-11 =         Neptune-     SPT2147-50:  39.6488 deg =   142736 arcsec
01-12 =         Neptune-J2200-5520 ICRF:  44.0409 deg =   158547 arcsec

-- ToddHunter - 2013-01-25

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > AngularSeparationOfFields
Topic revision: 2016-01-24, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback