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

1.3.2 Get the station names of the specified antennas.


Description

Get the station names of the specified antennas.

Arguments





Inputs

which

Zero-based antenna ID(s) in the ANTENNA table or antenna name(s). Single numeric id less than zero retrieves all station names.

allowed:

any

Default:

variant -1

Returns
stringarray

Example

 
    msmd.open("my.ms")  
    # get all station names  
    stations = msmd.antennastations(-1)  
    # get the stations of the antennas named DV07 and DV01  
    stations = msmd.antennaposition(["DV07", "DV01"])  
    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