Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | bima | |
Module | bimams | |
Tool | bimams |
names | The names of the spectral windows | ||
Allowed: | Vector of strings |
# construct a bimams tool and assign it to a Glish variable named bms bms := bimams('neptune.ms'); # assign spectral window number 3 the name of HCN bms.namespwid(id=3,name='HCN'); # assign spectral window number 7 the name of CS bms.namespwid(id=7,name='CS'); # get the spectral window ids of the window named CS, HCN, and SiO bms.spwidsbyname(names = ['CS','HCN','SiO']);The last command returns [7, 3, -1] (the user has not yet named a window SiO, which is why the final value in the vector is -1).