readSeeingFromASDM

Return to directory of Todd's CASA extensions

This function reads the seeing information from the CalSeeing.xml file. See also plotDecorrelation.

Usage:

au.readSeeingFromASDM(asdm)
Returns a dictionary with the following keys:
  • atmPhaseCorrection: AP_UNCORRECTED or AP_CORRECTED
  • baselineLengths: typically 3 values (in meters)
  • startValidTime: MJD nano seconds
  • endValidTime: MJD nano seconds
  • phaseRMS: a value (in radians) for each baselineLength for each timestamp
  • seeing: one value per timestamp (arcseconds)

Example:

CASA <2>: au.readSeeingFromASDM('uid___A002_X7ea111_Xc03/')
The ASDM bindings library is not available on this machine. Using minidom instead.
Found 5 measurements
  Out[2]: 
{'atmPhaseCorrection': ['AP_UNCORRECTED',
                        'AP_UNCORRECTED',
                        'AP_UNCORRECTED',
                        'AP_UNCORRECTED',
                        'AP_UNCORRECTED'],
 'baselineLengths': [[15.026090621948242, 26.906599044799805, 38.787109375],
                     [15.026090621948242, 26.906599044799805, 38.787109375],
                     [15.026090621948242, 26.906599044799805, 38.787109375],
                     [15.026090621948242, 26.906599044799805, 38.787109375],
                     [15.026090621948242, 26.906599044799805, 38.787109375]],
 'endValidTime': [4903756708896000000,
                  4903757560128000000,
                  4903758409776000000,
                  4903759456656000000,
                  4903760221536000000],
 'phaseRMS': [[0.49320897459983826, 0.45890259742736816, 0.4822603464126587],
              [0.49454596638679504, 0.4627413749694824, 0.48554787039756775],
              [0.49850621819496155, 0.46924227476119995, 0.4915348291397095],
              [0.5072911381721497, 0.4751935601234436, 0.49626412987709045],
              [0.5068081617355347, 0.48929134011268616, 0.5060864090919495]],
 'seeing': [1.8203832631290424,
            1.8306573739399026,
            1.8653989775222726,
            1.911054396808322,
            1.9539431393321136],
 'startValidTime': [4903755019056000000,
                    4903755019056000000,
                    4903755019056000000,
                    4903755019056000000,
                    4903755019056000000]}

-- ToddHunter - 2014-10-03

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > ReadSeeingFromASDM
Topic revision: 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