![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaRef |
|
||
1.1.3 Recover the rest frequency
Description
If the Coordinate System contains a spectral coordinate, then it has a rest
frequency. In fact, the spectral coordinate can hold several rest frequencies (to
handle for example, an observation where the band covers many lines),
although only one is active (for velocity conversions) at a time.
This function recovers the rest frequencies as a quantity vector. The first frequency is the active one.
You can change the rest frequencies with setrestfrequency.
If the Coordinate System does not contain a frequency coordinate, an exception is generated.
Arguments
Example
In the example, the initial spectral coordinate has 1 rest frequency. Then we set it with two, nominating the second as the active rest frequency, and recover them.
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.