readAntennasFromASDM

Return to directory of Todd's CASA extensions

Reads the list of antennas from the ASDM. -- by Denis Barkats.

Usage:

au.readAntennasFromASDM(sdmfile, stations=False, diameters=False)
  • sdmfile: the name of the ASDM
  • stations: if True, also return the stations in a second integer list
  • diameters: if True, also return the dish diameters in a second (or third) integer list

Example:

CASA <5>: au.readAntennasFromASDM('uid___A002_X65c1ab_X950')
  Out[5]:
['CM01',
 'CM03',
 'CM04',
 'CM05',
 'CM06',
 'CM07',
 'CM08',
 'CM12',
 'DA42',
 'DA46',
 'DA47',
 'DA48',
 'DA51',
 'DA52',
 'DA53',
 'DA54',
 'DA55',
 'DA56',
 'DV01',
 'DV02',
 'DV03',
 'DV05',
 'DV06',
 'DV07',
 'DV08',
 'DV09',
 'DV10',
 'DV11',
 'DV13',
 'DV14',
 'DV15',
 'DV17',
 'DV18',
 'DV20',
 'DV21',
 'DV22',
 'DV24',
 'DV25']

-- ToddHunter - 2013-12-20

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > ReadAntennasFromASDM
Topic revision: 2014-04-28, 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