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

1.3.2 Get an array of channel frequencies for the specified spectral window.


Description

Get an array of channel frequencies for the specified spectral window.

Arguments





Inputs

spw

Spectral window ID.

allowed:

int

Default:

unit

Convert frequencies to this unit.

allowed:

string

Default:

Hz

Returns
doubleArray

Example

 
    msmd.open("my.ms")  
    # get the channel frequencies for spectral window 2.  
    chan_freqs = msmd.chanfreqs(2)  
    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