getAtmcalStateIDsFromASDM

Return to directory of Todd's CASA extensions

Reads the State.xml file of an ASDM and returns a dictionary of the form: {'AMBIENT_LOAD': 'State_1', 'HOT_LOAD': 'State_2', 'NONE': 'State_0'}. See also repairAtmcalStateIDs.

Usage:

au.getAtmcalStateIDsFromASDM(asdm)

Example:

CASA <9>: au.getAtmcalStateIDsFromASDM('uid___A002_X7a1660_X16f')
  Out[9]: {'AMBIENT_LOAD': 'State_1', 'HOT_LOAD': 'State_2', 'NONE': 'State_0'}

-- ToddHunter - 2014-05-15

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetAtmcalStateIDsFromASDM
Topic revision: 2014-05-15, 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