NRAO Home > CASA > CASA Toolkit Reference Manual
msmetadata.reffreq - Function

1.3.2 Get the reference frequency of the specified spectral window.


Description

Get the reference frequency of the specified spectral window. The returned frequency is in the form of a valid measures dictionary.

Arguments





Inputs

spw

Zero-based spectral window ID.

allowed:

int

Default:

-1

Returns
record

Example

 
    msmd.open("my.ms")  
    # get the reference frequency for spw ID 20  
    reffreq = msmd.reffreq(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