nraonrao
 
NRAO Home > CASA > CasaRef
imager.setjy - Function

2.3.1 Compute the model visibility for a specified source flux density
Description

Compute the model visibility for a specified source flux density, and insert into the MODEL_DATA column. The source flux density for a set of standard flux density reference sources may optionally be pre-computed, by setting the input flux density to -1 (the default). At present, these include 3C286, 3C48, 3C147, 3C138, and 1934-638. In this case, if the source is not in this set, an unpolarized flux density of 1 Jy will be assumed. Users may also specify standard=’SOURCE’ to use the model(s) in the SOURCE_MODEL column of the SOURCE subtable.

Users may also specify a model image that will be scaled to the specified total flux density (or that computed for reference sources). When a model image is specified, setjy will only permit processing one field, and will currently only process Stokes I.

Arguments





Inputs

field

Field Id (0-relative) or name

allowed:

any

Default:

variant

spw

Spectral Window Id. (0-relative)

allowed:

any

Default:

variant

modimage

A model image

allowed:

string

Default:

fluxdensity

Specified flux density (I,Q,U,V) in Jy (lookup the value; use 1.0 if not found)

allowed:

doubleArray

Default:

0.0 0.0 0.0 0.0

standard

Flux density standard

allowed:

string

Default:

Baars Perley 90 Perley-Taylor 95 Perley-Taylor 99 SOURCE

Returns
bool

Example

im.setjy(fieldid=2, spwid=-1, fluxdensity=[2.6,0.2,0.3,0.5],standard=’Baars’)

Compute the model visibility for field id. 2 to the specified point-source (I,Q,U,V) for all spectral windows id.’s on the Baars flux density scale.

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.