restFrequenciesASDM

Return to directory of Todd's CASA extensions

Reads the rest frequencies for the science target spws in an ASDM and returns a dictionary, keyed by the spw number, as they will appear in a measurement set once it is imported. See also restFrequencies for use on an ms.

Usage:

au.restFrequenciesASDM(asdm)

Example:

CASA <23>: au.restFrequenciesASDM('uid___A002_X99c183_X25b6')
  Out[23]:                                                   
{17: [219560358000.0],                                       
 19: [220398684200.0],                                       
 21: [217996800500.15735],                                   
 23: [230538000000.0],                                       
 25: [231321828300.0],                                       
 27: [233000000000.0]}                                       

-- ToddHunter - 2016-08-10
Topic revision: r1 - 2016-08-10, 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