Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | bima | |
Module | bimacalibrater | |
Tool | bimacalibrater |
The setsolve function is a wrapper around the calibrater tool's setsolve function. It allows the user to specify what calibration component is to be solved for as well as how the solution should be determined.
If the default value for the solution is specified, the following algorithm is used. The table is given the name <solution type>cal (e.g. gcal for G solutions). If this table already exists, then a number is appended (e.g., gcal.2). The table name is stored internally in the tool for use with other functions.
sources | Nicknames of sources on which to run calibrater.setsolve() | ||
Allowed: | Vector of strings (nicknames or roles of sources) | ||
Default: | 'phcals' | ||
type | Component type | ||
Allowed: | "G","T","B","D" | ||
Default: | '' | ||
t | Solution interval (in sec) | ||
Allowed: | Float | ||
Default: | 0.0 | ||
preavg | Pre-averaging interval (in sec) | ||
Allowed: | Float | ||
Default: | 0.0 | ||
phaseonly | Phase only solution ? | ||
Allowed: | Bool | ||
Default: | False | ||
refant | Reference antenna | ||
Allowed: | Int | ||
Default: | -1 | ||
table | Output calibration table | ||
Allowed: | Table name | ||
Default: | '' (see above for default naming scheme) | ||
append | Append flag (set to T if you have multiple calibraters and want solutions in a single table) | ||
Allowed: | Bool | ||
Default: | False |
# a single calibrater - 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 # for two calibraters, putting all solutions in a single table - bc := bimacalibrater('g34.3.ms',['1751+096.ms','2148+069.ms'], targetnames='src',phcalnames=['cal1','cal2']); T - bc.setjy(fluxdensity=[5,0,0,0]); T # solutions for both calibraters will go in table gcal2 - bc.setsolve(type='G',refant=4,table='gcal2',t=600,append=T); T