NRAO Home > CASA > CASA Toolkit Reference Manual
msmetadata.phasecenter - Function

1.3.2 Get the phasecenter direction from a field ID and time if necessary


Description

Get a direction measures for the phasecenter of the field id and time specified

Arguments





Inputs

fieldid

Zero-based field ID for which to get the phasecenter; default fieldid=0

allowed:

int

Default:

0

epoch

Optional time, expressed as a measures epoch dictionary, if field id has a polynomial in time phasecenter or an ephemerides table attached to the ID. Default value means evaluate at the origin TIME in the FIELD table

allowed:

record

Default:

Returns
record

Example

 
    msmd.open("my.ms")  
    # get phasecenter for field ID 1  
    mydir = msmd.phasecenter(1);  
    # if the phasecenter is a polynomial or has an ephemerides attached to  
    # it a time is needed to get the phase direction  
    ep=me.epoch(’utc’, ’2015/03/15/15:30:55’)  
    mydir2=msmd.phasecenter(2, ep)  
    msmd.done()  

__________________________________________________________________


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