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


next up previous contents index
Next: bimacalibrater.type - Function Up: bimacalibrater - Tool Previous: bimacalibrater.setapply - Function


bimacalibrater.correct - Function



Package bima
Module bimacalibrater
Tool bimacalibrater


Apply calibration


Synopsis
correct(sources)


Description

This function is a wrapper around the calibrater tool's correct() function. It applies existing calibration data to the specified measurement sets, with initial table names and interpolation intervals set by the setapply function.



Arguments

sources   Nicknames of sources on which to run calibrater.correct()
    Allowed: Vector of strings (nicknames or roles of sources)
    Default: 'targets'


Returns
Boolean or fail


Example
- bc := bimacalibrater(['sgrb2.ms','sgra.ms'],
+ '1733-130.ms',targetnames=['sgrb','sgra'],phcalnames='1733'); 
- bc.setjy(fluxdensity=[5,0,0,0]);
T
- bc.setdata('1733',mode='channel');
T
- bc.setsolve('1733','G',60,refant=4,table='gcal');
T
- bc.solve()
T
- bc.transfer('gcal.xfer','gcal',[1,2,1,1,1,1,2,2,2,2],'sgrb');
T
- bc.solve('sgrb','G',0,'gcal.xfer');
T
# bc.correct() is equivalent to the next line
- bc.correct('sgrb');
T





next up previous contents index
Next: bimacalibrater.type - Function Up: bimacalibrater - Tool Previous: bimacalibrater.setapply - 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