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.subtable - Function Up: bimams - Tool Previous: bimams.startfreqs - Function


bimams.stokesid - Function



Package bima
Module bimams
Tool bimams


Get the system-defined id for the specified stokes parameter.


Synopsis
stokesid(stokes)


Description
Get the system-defined id for the specified stokes parameter as defined in aips/implement/Measures/Stokes.h.



Arguments

stokes   The stokes parameter (e.g., 'YY', 'I', etc.)
    Allowed: String: a stokes parameter


Returns
Integer: The system defined stokes id (see aips/implement/Measures/Stokes.h
) or -1 if the stokes parameter is not recognized


Example
# construct a bimams tool and assign it to a Glish variable named bms
bms := bimams('neptune.ms');
# get the stokes id for stokes parameter YY
bms.stokesid('YY');
The last command returns 12.





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