Return to directory of Todd's CASA extensions

Returns the list of rest frequencies for specified spw and source. It also prints the corresponding central velocity and velocity width. See also transitions, transition, radialVelocity and properMotion.


au.restFrequency(vis, spw, source)
  • vis: measurement set
  • source: can be integer ID or string name
  • spw: spw ID


CASA <2>: au.restFrequency('',0,0)
Velocity of central channel = 3409.333593 km/s (width = 6.774316 km/s)
Width of spw = 867.112454 km/s,  87.5% = 737.045586 km/s, half that = 368.522793 km/s
  Out[2]: array([  6.91473076e+11])   

-- ToddHunter - 2015-06-17

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