readPointingModelFromASDM

Return to directory of Todd's CASA extensions

Reads and lists the pointing model coefficients for one (or all) antennas in an ASDM.

Usage:

au.readPointingModelFromASDM(asdm, antenna=None, showBothPolarizations=False, returnDictionary=False, 
        verbose=True, showGlobal=True, showAuxiliary=False)
Inputs:
  • asdm: ASDM
  • antenna: antenna name string or antenna ID (as integer or string)
  • showGlobal: show the local pointing corrections
  • showAuxiliary: show the full 19-term model
  • returnDictionary: if True, then return dictionary keyed by antenna name, then polarization ('X', 'Y', 'id'), then type ('GLOBAL', 'AUXILIARY') where 'id' is the antenna integer ID (for convenience)

Example:

CASA <20>: au.readPointingModelFromASDM('uid___A002_X8fd70d_X16b6/',antenna='DA42')
                     AN, AW, CA, HACA, HACA2, HACA3, HASA, HASA2, HASA3, HECA2, HECA3, HECE, HESA, HESA2, HESA3, HESE, IA, IE, NPAE
Ant01: DA42: GLOBAL: [0.0, 0.0, 1.1580949, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.3196591, 0.0]
Ant01: DA42: GLOBAL: [0.0, 0.0, -0.22048293, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.3196591, 0.0]
Ant01: DA42: GLOBAL: [0.0, 0.0, -0.22048293, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.06749261, 0.0]
Ant01: DA42: AUXILIARY: [2.97, 0.93, 340.84, 0.29, 0.36, -1.27, 0.1, -0.02, 0.06, -0.22, -0.72, 10.11, 0.0, 0.08, 0.29, 0.0, -325.45, -63.80999, 5.9]
Ant01: DA42: AUXILIARY: [2.97, 0.93, 340.84, 0.29, 0.36, -1.27, 0.1, -0.02, 0.06, -0.22, -0.72, 10.11, 0.0, 0.08, 0.29, 0.0, -325.45, -63.80999, 5.9]
Ant01: DA42: AUXILIARY: [2.97, 0.93, 340.84, 0.29, 0.36, -1.27, 0.1, -0.02, 0.06, -0.22, -0.72, 10.11, 0.0, 0.08, 0.29, 0.0, -325.45, -63.80999, 5.9]

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