Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | bima | |
Module | mirfiller |
include "mirfiller.g"
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.
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');