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


next up previous contents index
Next: multibeam - Module Up: atcafiller - Tool Previous: atcafiller.fill - Function


atcafiller.select - Function



Package atnf
Module atca
Tool atcafiller


Select the data to fill


Synopsis
select(firstscan, lastscan, lowfreq, highfreq, freqchain, fields, bandwidth1, numchan1)


Arguments

firstscan   first scan to read
    Allowed: Positive Int
    Default: 1
lastscan   last scan to read
    Allowed: Positive Int
    Default: 9999
lowfreq   lowest reference freq to select in GHz
    Allowed: Double
    Default: 0.1
highfreq   highest reference freq to select in GHz
    Allowed: Double
    Default: 1000.0
freqchain   select one of the simultaneous frequencies, 0=both
    Allowed: Int
    Default: 0
fields   list of field names (sources) to select
    Allowed: Vector of Strings
    Default: ''
bandwidth1   select on bandwidth (MHz) of the first frequency chain, 0=all
    Allowed: Int
    Default: 0
numchan1   select on number of channels in first frequency chain, 0=all
    Allowed: Int
    Default: 0


Description

Select on various items, to load only a subset of the data present in the input file. The default is to load everything. Note that the frequency selection using lowfreq and highfreq acts purely on center (reference) frequencies, channel selection is not available at this stage. Use freqchain to select the frequency chain (or IF) to load, specify either 1 or 2, the default of zero will load both. Use the fields parameter to specify a list of field names (sources) you want to load. For detailed selection of complex observations the last two parameters let you specify the required bandwidth (in whole MHz) and number of channels of the first frequency chain.



Returns
Bool


Example
Select scans 4 to 10 inclusive, frequency chain 1, all data with a reference frequency of more than 1.4 GHz.
- rpf := atcafiller('myms', '/data/RPFITS/1999-01-01_0101.C999');
- rpf.select(firstscan=4, lastscan=10, freqchain=1, lowfreq=1.4)
- rpf.fill();
- rpf.done();











next up previous contents index
Next: multibeam - Module Up: atcafiller - Tool Previous: atcafiller.fill - 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