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


next up previous contents index
Next: mirfiller.done - Function Up: mirfiller - Tool Previous: mirfiller.setoptions - Function


mirfiller.fill - Function



Package bima
Module mirfiller
Tool mirfiller


write selected data into a measurement set


Synopsis
fill(msfile, verbose)



Description
This function does the actual work of converting the Miriad dataset to a Measurment Set. A measurement set with the given name will be created and filled with data (previously selected with the select function) from the input Miriad dataset. When the filling is complete, a summary of the number of visibilities, spectral windows, fields, and polarizations will be written to the logger.

The fill function can be called several times, usually between calls to select. This allows one to write different parts of the Miriad dataset into different output datasets.

Enabling the verbose option (via the setoptions function) will cause fill() to print extra messages about the data it finds in the Miriad dataset. In particular, it will print out the timestamp for each new scan. (A scan is a group of integrations taken close together in time. What exactly constitutes a scan is controlled by the scanlim option; see setoptions for details.)



Arguments

msfile   the file name of the ouput MS dataset
verbose   If true, extra messages will be sent to the logger during this fill process. Setting this to true is equivalent to running setoptions(verbose=T) just before calling fill() and then setting it back again after fill() is finished. If the verbose option has been turned on via setoptions(), then extra messages are sent regardless of the parameter given here.
    Default: F



Example
# open a miriad dataset
frommir := mirfiller('3c273')

# load all data into '3c273all.ms'
frommir.fill('3c273all.ms')

# load only the sideband averages to an MS called 3c273wide.ms
frommir.select(splwin='none', winav='none')   
frommir.fill('3c273wide.ms')

frommir.done();


next up previous contents index
Next: mirfiller.done - Function Up: mirfiller - Tool Previous: mirfiller.setoptions - 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