NRAO Home > CASA > CASA Toolkit Reference Manual
sd.scantable.nchan - Function

5.1.2 Return a number of channels
Description

Return a number of channels in this scantable.

If ifno argument is specified, the number of channels for that IF will be returned. Otherwise, the maximum number of channels, which is written in the header of the data, will be returned.

Arguments





Inputs

ifno

IF number

allowed:

integer

Default:

-1 (maximum)





Returns
integer

Example


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