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


next up previous contents index
Next: qimagermaketestms - Function Up: qimager - Tool Previous: qimager.setscales - Function


qimager.selfcal - Function



Package synthesis
Module qimager
Tool qimager


Self-calibrate the MeasurementSet using a calibrater tool and model+component list


Synopsis
selfcal(caltool, model, complist) To self-calibrate, first make a calibrater tool and set it up as required. Then use this tool function to do the selfcal. The steps coded in the tool function may also be done by hand, of course. These are:
1.
Call qimager.ft To Fourier transform the model and optional componentlist
2.
Call calibrater.solve to do the solution, optionally writing out tables containing gain information.
3.
Call calibrater.correct to do the correction of the data.

After the selfcal step, the next stage is to re-image the data using e.g. clean or nnls.



Description


Arguments

caltool Glish name of calibrater tool
Allowed: Any valid calibrater tool
Default: NONE!
model Name of images
Allowed: Vector of strings
complist Name of component list
Allowed: String


Returns
Bool


Example
imgr:=qimager('3C273XC1.ms')
cl:=calibrater('3C273XC1.ms')
cl.setsolve('T', 60, 'T', -1, '', F)
imgr.selfcal(cl, model='clean')
imgr.clean(model='newclean', image='newclean.restored')








next up previous contents index
Next: qimagermaketestms - Function Up: qimager - Tool Previous: qimager.setscales - 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-10-15