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


next up previous contents index
Next: dish.clearrm - Function Up: dish - Tool Previous: dish.cal - Function


dish.calib - Function



Package dish
Module dish
Tool dish


Apply calibration to a scan (GBT only currently).


Synopsis
calib(scan, baseline, range, order, units, flipsr, fold, flipfold)


Description
This function applies a calibration to the data based on information in the STATE table of the MS, in particular, it utilizes the OBSMODE column to determine a procedure type, switching signal, and switching state. In addition, information on the procedure size and procedure sequence number are used.

This function calls cal.



Arguments

scan   scan number
    Allowed: integer
    Default: no default
baseline   toggle baseline subtraction on or off
    Allowed: boolean
    Default: F (off)
range   range for baseline
    Allowed: channel range vector
    Default: F (full range)
order   order of baseline fit
    Allowed: integer
    Default: 1
units   units for calibrated result; 1=TA*, 2=TMB, 3=S
    Allowed: integer
    Default: 1
flipsr   flip sense of signal and reference
    Allowed: boolean
    Default: F
fold   fold data - FSWITCH data only
    Allowed: boolean
    Default: F
flipfold   flip sense of fold - FSWITCH data only
    Allowed: boolean
    Default: F


Returns
T (if successful)


Example
- d.calib(9,baseline=T,order=5); #calibrate scan 9 and subtract a 5th order
                                 #polynomial





next up previous contents index
Next: dish.clearrm - Function Up: dish - Tool Previous: dish.cal - 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