Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: bimams.polartable - Function Up: bimams - Tool Previous: bimams.nchans - Function


bimams.nspw - Function



Package bima
Module bimams
Tool bimams


Get the number of spectral windows


Synopsis
nspw()


Description
Get the number of spectral windows in the SPECTRAL_WINDOWS subtable. This includes all tpes of spectral windows; that is, the returned value is simply the number of rows in this subtable



Returns
Integer: the number of rows in the SPECTRAL_WINDOWS subtable


Example
# construct a bimams tool and assign it to a Glish variable named bms
bms := bimams('neptune.ms');
# get the number of spectral windows in this measurement set
bimams.nspw();
The result of the last command will be something like 26.





next up previous contents index
Next: bimams.polartable - Function Up: bimams - Tool Previous: bimams.nchans - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01