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.reavg - Function Up: bimams - Tool Previous: bimams.polartable - Function


bimams.polarids - Function



Package bima
Module bimams
Tool bimams


Get a list of polarization ids


Synopsis
polarids(stokes)


Description
Get a 1-based vector of integers representing the polarization ids (row numbers) from the POLARIZATION subtable by specifying a stokes parameter. If no such polarization exists in the subtable, an empty vector is returned.



Arguments

stokes   The stokes parameter associated with the polarization id (e.g., 'YY', 'I')
    Allowed: String


Returns
Vector of integers: the corresponding polarization ids or an empty vector if the specified polarization is not found


Example
# construct a bimams tool and assign it to a Glish variable named bms
bms := bimams('neptune.ms');
# get the polarization id associated with the YY stokes parameter
bimams.polarid('YY');
The last command will return the corresponding row in the POLARIZATION subtable, for example 1





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