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.ddtable - Function Up: bimams - Tool Previous: bimams.ddid - Function


bimams.ddids - Function



Package bima
Module bimams
Tool bimams


get the DATA_DESCRIPTION IDs (row numbers) associated with specified spectral window ids and polarization ids. The spectral window and polarization ids are or-ed within themselves and then anded together.


Synopsis
ddids(spwids, polids)


Description
Retrieve (1-based) DATA_DESCRIPTION IDs (row numbers) based on SPECTRAL_WINDOW IDs and polarization ids.



Arguments

spwids   The 1-based ids (row numbers) of the spectral windows in the SPECTRAL_WINDOWS subtable
    Allowed: Vector of integers
    Default: unset (all spectral windows)
polids   The 1-based ids (row numbers) of the desired polarizations in the POLARIZATION subtable.
    Allowed: Vector of integers
    Default: unset (all polarizations)


Returns
Vector of integers (empty vector of no specified ids are found)


Example
# get a list of data description ids 
# construct a bimams tool and assign it to a Glish variable named bms
bms := bimams('neptune.ms');
#  get the data description id associated with spectral window ids 5
# and 10 and polarizaion id 0
bms.ddid(spwids=[5,10],polids=0);
The result is [5,10].





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