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

1.3.2 Get an array of the unique antenna IDs for the specified scan, obsservation ID, and array ID.


Description

Get an array of the unique antennaIDs for the specified scan, observation ID, and array ID.

Arguments





Inputs

scan

Scan number for which to return the intents.

allowed:

int

Default:

-1

obsid

Observation ID. If less than 0, all observation IDs are used.

allowed:

int

Default:

-1

arrayid

Array ID. If less than 0, all array IDs are used.

allowed:

int

Default:

-1

Returns
intArray

Example

 
    msmd.open("my.ms")  
    # get the antennas associated with scan 4 (all observation IDs, all array IDs)  
    antennas = msmd.antennasforscan(4)  
    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