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.fit - Function Up: bimacalibrater - Tool Previous: bimacalibrater.setsolve - Function


bimacalibrater.solve - Function



Package bima
Module bimacalibrater
Tool bimacalibrater


Solve for the selected calibration components


Synopsis
solve(sources)


Description

The solve function wraps the calibrater tool's solve function. Solutions are generated and a calibration table is written for the specified sources. In addition, a keyword called SPW_INFO is written to the calibration table. This keyword contains information on the spectral window configuration of the source being solved for. This information is then read by the transfer function to help it make an educated guess about how the windows in the calibration written by solve map to the spectral windows in the sources to which the calibration will be applied.



Arguments

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


Returns
Bool 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('phcals') or bc.solve('1733') are equivalent to the following
- bc.solve()
T





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