Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | bima | |
Module | bimacalibrater | |
Tool | bimacalibrater |
The setjy function is a wrapper around the imager tool's setjy function. It sets the flux density (by modifying the MODEL column) of the specified measurement sets. A list of nicknames (as well the the special groupings allowed in getsourcenames) can be given. If the specified flux density is <0, this function will attempt to find the calibrator in the BIMA calibrator flux density table and if successful, will use the flux density nearest in time (no attempt to adjust the flux density for frequency is currently made, nor is any interpolation in time attempted). In this case, there can only be a single source per measurement set. In the case where the user sets the flux density explicitly by passing a > 0 value to this function, only single model can be specified (it will be used for all the specified sources). Thus, you must run this function multiple times if you have calibrators of different flux densities when running in this mode.
sources | Nicknames of sources to which to set the flux densities | ||
Allowed: | Vector of strings (nicknames or roles of sources) | ||
Default: | 'phcals' | ||
fieldid | Field Id (1-relative) | ||
Allowed: | Int | ||
Default: | -1 (all) | ||
spwid | Spectral Window Id. (1-relative) | ||
Allowed: | Int | ||
Default: | -1 (all) | ||
fluxdensity | Specified flux density (I,Q,U,V) in Jy, if < 0, attempt to look up flux density in BIMA calibrator flux density table | ||
Allowed: | Vector of Doubles | ||
Default: | -1 |
- bc := bimacalibrater(['sgrb2.ms','sgra.ms'], + '1733-130.ms',targetnames=['sgrb','sgra'],phcalnames='1733'); - # all of these are equivalent for setting the I flux density to 5 Jy. - bc.setjy(fluxdensity=[5,0,0,0]); T - bc.setjy('1733',fluxdensity=[5,0,0,0]); T - bc.setjy('phcals',fluxdensity=[5,0,0,0]); T - bc.setjy(spwid=-1,fluxdensity=[5,0,0,0]); T # here we allow a lookup in the BIMA calibrator flux density table - bc.setjy(); NORMAL: Using 2.79999995 Jy at 86.1999969 GHz measured on 1998/01/04/00:00:00.000