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


next up previous contents index
Next: MIRIAD Dataset Spectral Layout and its Mapping to Up: mirfiller - Module Previous: mirfiller - Module


mirfiller - Tool



Package bima
Module mirfiller


Postscript file available

a tool for filling MIRIAD data

include "mirfiller.g"



Description
mirfiller tool, which is used to load data in MIRIAD format in AIPS++ Measurement Sets. When a mirfiller tool is created, it is attached to a Miriad dataset; it can subsequently be used to fill several output measurement sets, perhaps with different data from the input MIRIAD dataset. The actually filling is commenced by calling the fill function. Restricting the filling to specific spectral windows can be controlled via the select function.

mirfiller tries to be smart about figuring out which spectral windows pass to the output measurment sets by default, depending on what data it finds in the dataset. (At the moment, it tries to decide which wideband channels to pass; see section on MIRIAD layout below.) The default behavior can be changed via the defpass parameter given either to the mirfiller constructor or the select() function. See the description of select for more details.



Example
include 'mirfiller.g'

# open a miriad dataset; watch the logger for a summary and
#   mirfiller's guess as to what windows you'll probably want.
frommir := mirfiller('3c273')

# load the windows that mirfiller thinks you'll want.
frommir.fill('3c273.ms')

# load all the windows
frommir.select(defpass='all');
frommir.fill('3c273all.ms');

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

# load only the first four spectral line windows and their
#   corresponding averages
frommir.select(defpass='none', splwin=[1:4], winav=[1:4])
frommir.fill('3c273_1-4.ms');




next up previous contents index
Next: MIRIAD Dataset Spectral Layout and its Mapping to Up: mirfiller - Module Previous: mirfiller - Module   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