NRAO Home > CASA > CASA Toolkit Reference Manual
sd.calfs - Function

5.1.1 Calibration function for frequency switched data
Description

Calibrate GBT frequency switched data. Adopted from GBTIDL getfs. Currently calfs identify the scans as frequency switched data if source type enum is fson and fsoff. The data must contains ’CAL’ signal on/off in each integration. To identify ’CAL’ on state, the source type enum of foncal and foffcal need to be present.

Arguments





Inputs

scantab

Input data as a scantable

allowed:

scantable

Default:

scannos

A list of scan numbers to be calibrated

allowed:

(list of) integer

Default:

[] (all data)

smooth

Optional box smoothing order for the reference

allowed:

int

Default:

1 (no smoothing)

tsysval

Optional user specified Tsys

allowed:

float

Default:

0.0 (use Tsys in the data)

tauval

Optional user specified optical depth

allowed:

float

Default:

0.0

verify

Verify calibration if True

allowed:

bool

Default:

False





Returns
scantable

Example

   s=sd.scantable(’FLS3a_HI.asap’)                 # load in the saved ASAP dataset with FLS3a  
   scanns = s.getscannos()                         # get a list of the scan numbers in the scantable  
   sn=list(scanns)  
   res=sd.calfs(s,sn)                              # Do a frequency switched calibration on the scans


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