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

1.3.2 Get the position of the specified antenna.


Description

Get the position of the specified antenna. The returned record represents a position measure, and can be used as such by the measures (me) tool.

Arguments





Inputs

which

Zero-based antenna ID in the ANTENNA table or antenna name.

allowed:

any

Default:

variant 0

Returns
record

Example

 
    msmd.open("my.ms")  
    # get the position of the (zero-based) 3rd antenna in the ANTENNA table  
    antennna_position = msmd.antennaposition(3)  
    # get the position of the antenna named DV07  
    antennna_position = msmd.antennaposition("DV07")  
    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