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


bimams.chanwidths - Function



Package bima
Module bimams
Tool bimams


Get the channel widths of the specified type of windows


Synopsis
chanwidths(type)


Description
Get a Glish vector containing the channel widths (in Hz) for the specified type of windows. The order of the values in the returned vector is the same as the order of the type of windows specified in the SPECTRAL_WINDOWS subtable. For the multichannel data, the assumption is made that the channel width is constant within a given spectral window (note though that the measurement set specification permits varying channel widths within a window; in general however, channel widths within a spectral window are constant for BIMA data). The actual values which are returned are the widths of the first channels in each window.



Arguments

type   type of spectral window
    Allowed: 's' (sibeband average), 'c' (multi-channel data), or 'a' (multi-channel average)
    Default: 'c'


Returns
A Glish vector of doubles containing the channel widths of the multi-channel data spectral windows.


Example
# construct a bimams tool and assign it to a Glish variable named bms
bms := bimams('neptune.ms');
# get the widths of the channels in the multi-channel data windows of
# the underlying ms      
bms.chanwidths();
The result is [-48828.125 -3125000 -3125000 -48828.125 -3125000 -3125000 48828.125 3125000 3125000 48828.125 3125000 3125000]





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