|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.dototalpower - Function
5.1.1 Equivalent function with dototalpower in GBTIDL
Description
The method performs calibration for CAL on,off signals. Adopted from
GBTIDL dototalpower.
Arguments
Inputs |
| ||
calon |
| The ’cal on’ subintegration as a scantable
| |
| allowed: | scantable | |
| Default: | ||
caloff |
| The ’cal off’ subintegration as a scantable
| |
| allowed: | scantable |
|
| Default: |
|
|
tcalval |
| User supplied Tsys
| |
| allowed: | float |
|
| Default: | 0.0 (use Tcal in the data) |
|
scantable
Example
sel = sd.selector()
# calibration scans
sel.set_types([srctype.poncal,srctype.poffcal])
s.set_selection(sel)
ssubon=s.copy()
s.set_selection()
sel.reset()
# off-calibration scans
sel.set_types([srctype.pson,srctype.psoff])
s.set_selection(sel)
ssuboff=s.copy()
s.set_selection()
sel.reset()
# calibration
cals = sd.dototalpower(ssubon,ssuboff)
# ON scan
sel.set_types(srctype.pson)
cals.set_selection(sel)
sig = cals.copy()
cals.set_selection()
sel.reset()
# OFF scan
sel.set_types(srctype.psoff)
cals.set_selection(sel)
ref = cals.copy()
cals.set_selection()
sel.reset()
# get calibrated data
ress = sd.dosigref(sig,ref,smooth=1)
More information about CASA may be found at the
CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search