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.fill - Function Up: vlafiller - Tool Previous: vlafiller.selectsubarray - Function


vlafiller.selectcalibrator - Function



Package nrao
Module vla
Tool vlafiller


Select which calibrators to convert


Synopsis
selectcalibrator(calcode)


Description

The selectcalibrator function filters the data so that only some of it is copied to the output measurement set.

The calibrator code can be any uppercase letter or a single numeric character. Often it is assigned by the scheduling software and may have a specific meaning. The character '*' can be used to select all the calibrators regardless of the calibration code. This does not select any of the target sources which have a calibrator code of ' ' (the space character).

This function can be used to filter out all the calibrators so that only target sources are filled. This is done using a argument of ' ' (the space character).

To revert to the default behaviour of selecting all the target sources and all the calibrators this function should called with the unset argument. This function returns F if the selection could not be done.



Arguments

calcode   The calibrator code to select.
    Allowed: string
    Default: unset


Returns
T or F


Example
      include 'vlafiller.g'
      v := vlafiller() 
      v.diskinput('file1.vla') 
      v.output('file1.ms') 
      v.selectband('L') 
      v.selectsubarray(1) 
      v.selectcalibrator('C') 
      v.fill() 
      v.done()
This example selects all the calibrator data with positions known to better than 50mas (as thats what calcode 'C' usually means), that was observed using in 'L' band (near 1.4GHz) in using sub-array 1. See the example for the vlafiller constructor for a more complete description of other parts of this example.



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