Usage of elevationSeparationOfFields

Return to directory of Todd's CASA extensions

Reads an ms and computes the mean elevation 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 angularSeparationOfFields.

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

Usage:

au.elevationSeparationOfFields(vis='', fields=[])
Inputs:
  • vis: measurement set
  • fields: a single field integer ID or string name, or a list of these

Returns:
  • the field integer ID of the field that is closest in mean elevation to the specified field

Example:

CASA <2>: au.elevationSeparationOfFields('uid___A002_X74821d_X13c0.ms',fields=0)
Field =              Names                 Separations
00-01 =      J1107-4449-     J1058-8003:  25.3422 deg =    91232 arcsec
00-02 =      J1107-4449-           Mars:  11.0029 deg =  39610.6 arcsec
00-03 =      J1107-4449-        CHA1-35:  26.6803 deg =  96049.2 arcsec
00-04 =      J1107-4449-        CHA1-42:  26.6501 deg =  95940.3 arcsec
00-05 =      J1107-4449-        CHA1-32:  26.6646 deg =  95992.4 arcsec
00-06 =      J1107-4449-        CHA1-34:   26.661 deg =  95979.6 arcsec
00-07 =      J1107-4449-        CHA1-33:  26.6517 deg =  95946.3 arcsec
00-08 =      J1107-4449-        CHA1-39:  26.6403 deg =  95905.1 arcsec
00-09 =      J1107-4449-        CHA1-30:   26.633 deg =  95878.9 arcsec
00-10 =      J1107-4449-        CHA1-36:   26.625 deg =    95850 arcsec
00-11 =      J1107-4449-        CHA1-44:  26.6057 deg =  95780.5 arcsec
00-12 =      J1107-4449-        CHA1-38:  26.6003 deg =    95761 arcsec
00-13 =      J1107-4449-        CHA1-45:  26.5889 deg =  95720.2 arcsec
00-14 =      J1107-4449-        CHA1-40:  26.5901 deg =  95724.3 arcsec
00-15 =      J1107-4449-        CHA1-37:  26.5862 deg =  95710.5 arcsec
00-16 =      J1107-4449-        CHA1-41:   26.585 deg =  95705.9 arcsec
00-17 =      J1107-4449-        CHA1-43:  26.5782 deg =  95681.6 arcsec
minimum separation = 11.002947 degrees
  Out[2]: 2

-- ToddHunter - 2014-09-15
Topic revision: r1 - 2014-09-15, 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