|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.refdir - Function
1.3.2 Get the reference direction from a field ID and time if necessary
Description
Get a direction measure for the reference direction of the field and time
specified
Arguments
Inputs |
| ||
field |
| Zero-based field ID or field name for which to get the
reference direction; default field=0
| |
| allowed: | any |
|
| Default: | variant 0 | |
epoch |
| Optional time, expressed as a measures epoch dictionary,
if associated field has a polynomial in time reference
direction or an ephemerides table attached it. Default
value means evaluate at the origin TIME in the FIELD
table
| |
| allowed: | record |
|
| Default: |
|
|
record
Example
msmd.open("my.ms")
# get reference direction for field ID 1
mydir = msmd.refdir(1);
# if the reference direction is a polynomial or has an ephemerides attached to
# it a time is needed to get the reference 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