computeAzElForMS

Return to directory of Todd's CASA extensions

Computes the min/max/mean or median azim and elev for a measurement set. Used by the pipeline weblog.

Usage:

au.computeAzElForMS(vis, value='mean', forcePositiveAzim=True, verbose=False, ignorePointingSBAtmScans=True)
Inputs:
  • vis: measurement set
  • value: 'min', 'max', 'mean' or 'median'
  • verbose: if True, then print the per scan values
Returns: 2 values (azim and elev)

Example:

CASA <2>: au.computeAzElForMS('uid___A002_Xac0269_Xe15.ms',value='max')
Dropping pointing+sideband+atmosphere scans:  [1, 2, 4, 5, 7, 9, 11, 28]
  Out[2]: (124.23527257591059, 56.180359237192263)

-- ToddHunter - 2015-12-01
Topic revision: r1 - 2015-12-01, 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