Return to directory of Todd's CASA extensions

Parse an antenna argument (integer or string or list) to emulate CASA task selections, given a measurement set. See parseAntennaASDM for the equivalent command for an ASDM. This works in all CASA versions (i.e., from 3.3 onward). See also parseFrequencyArgument. Note: full usage of the wildcard character (e.g. 'DV*') is not supported.


au.parseAntenna(vis, antenna)
  • vis: name of measurement set
  • antenna: a string argument, as you would pass to a CASA task
  • list of antenna IDs


CASA <6>: au.parseAntenna('','!PM01')
  Out[6]: [0, 2, 3]

-- ToddHunter - 2014-04-28
Topic revision: r4 - 2015-09-16, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback