representativeSpw

Return to directory of Todd's CASA extensions

Returns the science spw that contains the representative frequency of the measurement set. If multiple spws qualify, then return the one whose center frequency is nearest. See also representativeFrequency.

Usage:

au.representativeSpw(vis, verbose=True)

Example:

CASA <2>: au.representativeSpw('uid___A002_Xade68e_X1a96.ms')
minAcceptableResolution = 1.277362 arcsec                                                                                                  
maxAcceptableResolution = 1.561221 arcsec                                                                                                  
  Out[2]: 25   

-- ToddHunter - 2016-02-22
Topic revision: r1 - 2016-02-22, 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