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

1.3.2 Get the bandwidths in Hz for the specified spectral windows. If spw less than zero, return bandwidths for all spectral windows.


Description

Get the bandwidths in Hz for the specified spectral windows. If spw less than zero, return bandwidths for all spectral windows.

Arguments





Inputs

spw

Spectral window IDs, if integer less than zero, return bandwidths for all spectral windows.

allowed:

any

Default:

variant -1

Returns
anyvariant

Example

 
    msmd.open("my.ms")  
    # get bandwdith for spectral window 2.  
    baseband = msmd.bandwidth(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