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

1.3.2 Get the number of channels associated with the specified spectral window.


Description

Get the number of channels associated with the specified spectral window.

Arguments





Inputs

spw

Zero-based spw ID for which to get the number of channels.

allowed:

int

Default:

Returns
int

Example

 
    msmd.open("my.ms")  
    nchan = msmd.nchan(3)  
    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