getFieldsFromASDM

Return to directory of Todd's CASA extensions

Gets the field IDs and field names from an ASDM as two dictionaries. See also readAntennasFromASDM, getIntentsFromASDM, getLOsFromASDM, getMeanFreqFromASDM, getNumChanFromASDM, getScanNumbersFromASDM, getSpwsFromASDM, getSubscanTimesFromASDM, and others.

Usage:

au.getFieldsFromASDM(asdm)

Example:

CASA <4>: au.getFieldsFromASDM('uid___A002_X8d7199_X195')
  Out[4]: 
({0: 'J0530+1331', 1: 'J0521+1638', 2: 'J0510+1800'},
 {'J0510+1800': 2, 'J0521+1638': 1, 'J0530+1331': 0})

-- ToddHunter - 2014-10-04
Topic revision: r1 - 2014-10-04, 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