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.spwtable - Function Up: bimams - Tool Previous: bimams.spwids - Function


bimams.spwnames - Function



Package bima
Module bimams
Tool bimams


Get a list of spectral window names by specifying the type of spectral window


Synopsis
spwnames(type)


Description
Get a vector of strings representing the names of all the spectral windows of a specified type.



Arguments

type   The type of spectral window
    Allowed: String: 'all' (all types), 'a' (multi-channel averages), 'c' (multi-channel data), 's' (sideband averages)
    Default: 'all'


Returns
Vector of strings: the names of the spectral windows of the specified type in the order the windows appear 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 names of the multi-channel data windows
bms.spwnames(type='c');
The last command returns a vector of the names of the multi-channel data windows, e.g., none none HCN none none CS none none SiO none none none. none is the default entry in the NAME column.





next up previous contents index
Next: bimams.spwtable - Function Up: bimams - Tool Previous: bimams.spwids - 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