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

5.1.1 Calibration function for position switched data
Description

The method calibrates GBT position switched data Adopted from GBTIDL getps Currently calps identify the scans as position switched data if source type enum is pson or psoff. The data must contains ’CAL’ signal on/off in each integration. To identify ’CAL’ on state, the source type enum of poncal and poffcal 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

tcalval

Optional user specified Tcal

allowed:

float

Default:

0.0 (use Tcal in the data)

verify

Verify calibration if True

allowed:

bool

Default:

False





Returns
scantable

Example

   s=sd.scantable(’OrionS_rawACSmod’,False)#load the data without averaging  
   scal=sd.calps(s,[24,25,26,27])          # Calibrate SiO 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