|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.restfreqs - Function
1.3.2 Get the rest frequencies from the SOURCE table for the specified source and
spectral window.
Description
Get the rest frequencies from the SOURCE table for the specified source and
spectral window. The return value will be a dictionary of frequency measures if
the rest frequencies are defined for the specified inputs, or False if they do not.
Arguments
Inputs |
| ||
sourceid |
| Zero-based source ID (from the SOURCE::SOURCE_ID
column).
| |
| allowed: | int |
|
| Default: | 0 |
|
spw |
| Zero-based spectral window ID.
| |
| allowed: | int |
|
| Default: | 0 |
|
anyvariant
Example
msmd.open("my.ms")
# get the rest frequencies for source ID 2 and spw ID 20
reffreq = msmd.restfreqs(2, 20)
msmd.done()
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 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