getAntennaPads
Return to directory of Todd's CASA extensions
Gets a list of antenna pads from a measurement set using msmd.antennastations(). See also
getAntennaPadsFromASDM and
getPadLOC.
Usage:
au.getAntennaPads(vis, exclude='', keyByAntennaName=False, keyByPad=False)
Inputs:
- vis: measurement set
- exclude: a comma-separated list of pads to exclude; 'LBC' will remove the 21 pads of the ALMA LB campaign
- keyByAntennaName: will return a dictionary keyed by antenna name
- keyByPad: will return a dictionary keyed by pad
Example:
CASA <4>: au.getAntennaPads('uid___A002_X822d50_X174b.ms')
Out[4]: ['N602', 'N605', 'J506', 'N606', 'J505', 'N603', 'N604', 'J504', 'A085']
--
ToddHunter - 2015-02-12