NRAO Home > CASA > CASA Toolkit Reference Manual
ms.getfielddirmeas - Function

1.3.1 Returns the direction measure from the given FIELD table column and row


Description

This function returns the direction measures from the given direction column of the MS FIELD table as a either a measure dictionary or sexigesimal string representation.

Arguments





Inputs

dircolname

Name of the direction column in the FIELD table

allowed:

string

Default:

PHASE_DIR

fieldid

Field ID, starting at 0

allowed:

int

Default:

0

time

(optional) time for ephemeris access (in seconds, as in Main table TIME column)

allowed:

double

Default:

0

format

Output format. Either ”measure” (measure dictionary) or ”string” (sexigesimal representation). Minimum match supported.

allowed:

string

Default:

measure

Returns
anyvariant

Example

 
 
      ms.open(’3C273XC1.MS’)  
      print "Delay direction from FIELD table row 3 =", ms.getfielddirmeas("DELAY_DIR", 3)  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright © 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search