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

5.1.2 Return a scan where all spectra are converted to Jy or K
Description

Return a scan where all spectra are converted to either Jansky or Kelvin depending upon the flux units of the scan table. By default the function tries to look the values up internally. If it can’t find them (or if you want to over-ride), you must specify EITHER jyperk OR eta (and D which it will try to look up also if you don’t set it). jyperk takes precedence if you set both.

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

jyperk

The Jy/K conversion factor

allowed:

float

Default:

None

eta

The aperture efficiency

allowed:

float

Default:

None

d

The geometric diameter (metres)

allowed:

float

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