|
|||
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. If a specified antenna name is
listed multiple times in the ANTENNA table, obsid is negative, and which is
specified as an array of names, then the station associated with the largest ID
for that antenna is returned. If obsid is nonnegative, returned stations are
filtered based on that. If which is specified as a string (antenna name), then all
the stations associated with that antenna are returned.
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 |
|
obsid |
| Observation ID. If negative, all observation IDs are
considered.
| |
| allowed: | int |
|
| Default: | -1 |
|
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