NRAO Home > CASA > CASA Toolkit Reference Manual
sd.scantable.opacity - Function

5.1.2 Apply an opacity correction
Description

Apply an opacity correction. The data and Tsys are multiplied by the correction factor.

Correction includes an elevation dependence of the opacity. Actual correction factor is exp(τ * ZD), where ZD is the zenith-distance and τ is a value given as the tau argument. If a list of opacities is provided, it has to be of length nIF, nIF*nPol or 1 and in order of IF/POL, e.g. [opif0pol0, opif0pol1, opif1pol0 ...]. If tau is ‘None‘ the opacities are determined from a model.

If insitu is True, or insitu is None and sd.rcParams[’insitu’] is True, the method will not return the result, but apply operation on this scantable.

Arguments





Inputs

tau

A (list of) opacity

allowed:

float, float array

Default:

None

insitu

If False a new scantable is returned

allowed:

bool

Default:

None





Returns
scantable

Example


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