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.correct - Function Up: bimacalibrater - Tool Previous: bimacalibrater.transfer - Function


bimacalibrater.setapply - Function



Package bima
Module bimacalibrater
Tool bimacalibrater


Set how solutions should be applied


Synopsis
setapply(sources, type, t, table, select)


Description

The setapply function is a wrapper around the calibrater tool's setapply function. It is used to set calibration component information for applied calibration. Each calibration component represents a separate calibration matrix correction included in the measurement equation.



Arguments

sources   Nicknames of sources on which to run calibrater.setapply()
    Allowed: Vector of strings (nicknames or roles of sources)
    Default: 'targets'
type   Component type
    Allowed: "G","T","B","D"
    Default: 'G'
t   Interpolation interval (in sec)
    Allowed: Float
    Default: 0.0
table   Input calibration table
    Allowed: String
    Default: unset (will use table written by transfer(), or if transfer() hasn't been run, the table written by solve()
select   TAQL selection string
    Allowed: String
    Default: " "


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() is equivalent to the next line for this example
- bc.solve('sgrb','G',0,'gcal.xfer');
T





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