Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: vlafiller.selectband - Function Up: vlafiller - Tool Previous: vlafiller.selecttime - Function


vlafiller.selectfrequency - Function



Package nrao
Module vla
Tool vlafiller


Select which frequency-range to convert


Synopsis
selectfrequency(centerfrequency, bandwidth)


Description

The selectfrequency function filters the data so that only some of it is copied to the output measurement set. The frequency band is specified using a center frequency and a bandwidth around that frequency. These frequencies are specified using strings to include the necessary units ie., kHz, MHz etc. This function rejects input records were all the correlations are entirely outside the specified frequency band. It cannot be used to select channels, this must be done after the measurement set has been created. For example if a spectral line observation has data in ten channels between 100MHz and 200MHz then calling this function with a center frequency of 200MHz and a bandwidth of 40MHz will include all of the data between 100MHz and 200MHz and not just the last two channels.

If any of the input parameters is unset then no frequency selection is done. This is the default.

This functions returns F if the selection could not be done.



Arguments

centerfrequency   The center frequency.
    Allowed: string
    Default: unset
bandwidth   The range of frequencies around the center frequency.
    Allowed: string
    Default: unset


Returns
T or F


Example
See the example for the selecttime function.



next up previous contents index
Next: vlafiller.selectband - Function Up: vlafiller - Tool Previous: vlafiller.selecttime - 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