restFrequency

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.

Usage:

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

Example:

CASA <2>: au.restFrequency('calibrated_final.ms',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
Topic revision: r4 - 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