<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns="http://casa.nrao.edu/schema/psetTypes.html" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<task type="function" name="setjy" category="imaging, calibration">
<shortdescription>Fills the model column with the visibilities of a calibrator</shortdescription>
<description>
This task places the model visibility amp and phase associated with a
specified clean components image into the model column of the data
set. The flux density (I,Q,U,V) for a point source calibrator can be
entered explicitly.
setjy need only be run on the calibrator sources with a known flux
density and/or model.
Models are available in CASA for 3C48, 3C138, 3C286, and 3C147 between 230 MHz
and 43 GHz. In addition, P-band models for the frequency range between 230 -
470 MHz are available in CASA for 3C123, 3C196, 3C295, and 3C380.
These models are scaled to the precise frequency of the data. Only I models are
presently available.
For Solar System Objects, model determination was updated and it is
available via the 'Butler-JPL-Horizons 2012' standard. Currently they
are modeled as uniformtemperature disks based on their ephemeris at
the time of observation (note that this may oversimplify objects, in
particular asteroids). Specify the name of the object in the 'field'
parameter.
The location of the models is system dependent: At the AOC, the
models are in the directory::/usr/lib/casapy/data/nrao/VLA/CalModels/
3C286_L.im (egs).
</description>
<input>
<param type="string" name="vis">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Default: none
Example: vis='ngc5921.ms'
</description>
<value/>
</param>
<param type="string" name="field">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>
<description>Select field using field id(s) or field name(s)
Default: '' (all fields, but run setjy one field
at a time)
Use 'go listobs' to obtain the list id's or
names. If field string is a non-negative integer,
it is assumed a field index, otherwise, it is
assumed a field name.
Examples:
field='0~2'; field ids 0,1,2
field='0,4,5~7'; field ids 0,4,5,6,7
field='3C286,3C295'; field named 3C286 and
3C295
field = '3,4C*'; field id 3, all names
starting with 4C
</description>
<description>Field name(s)</description>
<value/>
</param>
<param type="string" name="spw">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
Default: '' (all spectral windows)
NOTE: setjy only selects by spectral window, and
ignores channel selections. Fine-grained control
could be achieved using (and possibly
constructing) a cube for model.
</description>
<value/>
</param>
<param type="bool" name="selectdata">
<shortdescription>Other data selection parameters</shortdescription>
<description>Other parameters for selecting part(s) of the MS to
operate on.
Default: False
Options: False|True
Currently all time-oriented and most likely only
of interest when using a Solar System object as a
calibrator.
</description>
<value>False</value>
</param>