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

1.3.2 Get the diameter for the specified antenna.


Description

Get the diameter for the specified antenna. The antenna can be specified either by its zero-based ID from the ANTENNA table or by its name in that table. The returned dictionary is a valid quantity. If a negative integer is provided for the antenna, then all atenna diameters will be returned in a dictionary that has keys that are the antenna IDs and values that are dictionaries, each being a valid quantity representing the diameter for that antenna ID.

Arguments





Inputs

antenna

Zero-based antenna in the ANTENNA table, or antenna name. A negative integer will cause all antenna diameters to be returned.

allowed:

any

Default:

variant -1

Returns
record

Example

 
    msmd.open("my.ms")  
    # Get the diameter of the antenna named "VB2"  
    diameter = msmd.antennadiameter("VB2")  
    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