|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.antennaoffset - Function
1.3.2 Get the offset position of the specified antenna relative to the array reference
position.
Description
Get the offset position of the specified antenna relative to the array reference
position. Antenna may be specified as a zero-based integer (row number in the
ANTENNA table) or a string representing a valid antenna name. The returned
record contains the longitude, latitude, and elevation offsets as quantity
records. The reported longitude and latitude offsets are measured along the
surface of a sphere whose center is coincident with the center of the earth and
whose surface contains the observatory reference position.
Arguments
Inputs |
| ||
which |
| Zero-based antenna in the ANTENNA table, or antenna
name.
| |
| allowed: | any |
|
| Default: | variant 0 |
|
record
Example
msmd.open("my.ms")
# get the offset of the (zero-based) 3rd antenna in the ANTENNA table
antennna_offset = msmd.antennaoffset(3)
# get the offset of antenna DV02
antennna_offset = msmd.antennaoffset(’DV02’)
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