AngularSeparationOfFields

From CASA Guides
Jump to navigationJump to search

Return to Analysis Utilities

This page documents the angularSeparationOfFields function of Python module analysisUtils.

This function 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.

Examples

# In CASA
CASA <4>: au.angularSeparationOfFields('uid___A002_X49a70a_X4d8.ms', fields=[2])
Field =              Names                 Separations
00-02 =       J1924-292-      J2056-472:  25.2407 deg =  90866.4 arcsec
01-02 =         Neptune-      J2056-472:  61.8263 deg =   222575 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 <8>: au.angularSeparationOfFields('uid___A002_X49a70a_X4d8.ms',fields=['Neptune'])
Field =              Names                 Separations
00-01 =       J1924-292-        Neptune:  71.5956 deg =   257744 arcsec
01-02 =         Neptune-      J2056-472:  61.8263 deg =   222575 arcsec
01-03 =         Neptune-     SPT2031-51:  67.4473 deg =   242810 arcsec
01-04 =         Neptune-     SPT2048-55:  67.5916 deg =   243330 arcsec
01-05 =         Neptune-     SPT2052-56:  67.6287 deg =   243463 arcsec
01-06 =         Neptune-     SPT2103-60:  69.3286 deg =   249583 arcsec
01-07 =         Neptune-     SPT2132-58:  64.9349 deg =   233766 arcsec
01-08 =         Neptune-     SPT2134-50:  59.0425 deg =   212553 arcsec
01-09 =         Neptune-     SPT2146-56:  62.3631 deg =   224507 arcsec
01-10 =         Neptune-     SPT2146-55:   61.447 deg =   221209 arcsec
01-11 =         Neptune-     SPT2147-50:  57.9056 deg =   208460 arcsec
01-12 =         Neptune-J2200-5520 ICRF:  60.4162 deg =   217498 arcsec

</codee>