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.ms - Function Up: bimams - Tool Previous: bimams.fieldtable - Function


bimams.mcaddids - Function



Package bima
Module bimams
Tool bimams


Given a list of 1-based DATA DESCRIPTION ids which describe multi-channel data spectral windows, get a list of 1-based DATA DESCRIPTION ids which correspond to the multi-channel average windows.


Synopsis
mcaddids(mcd)


Description
Given a list of 1-based DATA DESCRIPTION ids which describe multi-channel data spectral windows, get a list of 1-based DATA DESCRIPTION ids which correspond to the multi-channel average windows.



Arguments

mcd   vector of 1-based data description ids which refer to multichannel data windows.
    Allowed: Vector of integers



Returns
Vector of integers. If any input DATA DESCRIPTION ids do not have multi-channel average associations, -1 is in the corresponding the position in the returned vector


Example
# construct a bimams tool and assign it to a Glish variable named bms
bms := bimams('neptune.ms');
# data description ids 1,3,5 are multichannel data.  1 and 3 have
# corresponding multichannel averages, while 5 does not.
bms.mcaddids([1,3,5);
The result is [15,17,-1].





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