<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="tclean" category="imaging">
<shortdescription>Radio Interferometric Image Reconstruction</shortdescription>
<description>Form images from visibilities and reconstruct a sky model.
This task handles continuum images and spectral line cubes,
supports outlier fields, contains standard clean based algorithms
along with algorithms for multi-scale and wideband image
reconstruction, widefield imaging correcting for the w-term,
full primary-beam imaging and joint mosaic imaging (with
heterogeneous array support for ALMA).
<param type="any" name="vis" kind="ms" mustexist="true">
<shortdescription>Name of input visibility file(s)</shortdescription>
<description>Name(s) of input visibility file(s)
example: vis='ngc5921.ms'
vis=['ngc5921a.ms','ngc5921b.ms']; multiple MSes
<type mustexist="true">path</type><type mustexist="true">pathVec</type>
<param type="bool" name="selectdata" visibility="hidden">
<shortdescription>Enable data selection parameters</shortdescription>
<description>Enable data selection parameters.
<value type="bool">True</value>
<param type="any" name="field" subparam="true">
<shortdescription>field(s) to select</shortdescription>
<description> Select fields to image or mosaic. Use field id(s) or name(s).
['go listobs' to obtain the list id's or names]
If field string is a non-negative integer, it is assumed to
be a field index otherwise, it is assumed to be a
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
For multiple MS input, a list of field strings can be used:
field = ['0~2','0~4']; field ids 0-2 for the first MS and 0-4
field = '0~2'; field ids 0-2 for all input MSes
<type>string</type><type>stringVec</type>
<param type="any" name="spw" subparam="true">
<shortdescription>spw(s)/channels to select</shortdescription>
<description> Select spectral window/channels
NOTE: channels de-selected here will contain all zeros if
selected by the parameter mode subparameters.
default: ''=all spectral windows and channels
spw='0~2,4'; spectral windows 0,1,2,4 (all channels)
spw='0:5~61'; spw 0, channels 5 to 61
spw='<2'; spectral windows less than 2 (i.e. 0,1)
spw='0,10,3:3~45'; spw 0,10 all channels, spw 3,
spw='0~2:2~6'; spw 0,1,2 with channels 2 through 6 in each.
For multiple MS input, a list of spw strings can be used:
spw=['0','0~3']; spw ids 0 for the first MS and 0-3 for the second
spw='0~3' spw ids 0-3 for all input MS
spw='3:10~20;50~60' for multiple channel ranges within spw id 3
spw='3:10~20;50~60,4:0~30' for different channel ranges for spw ids 3 and 4
spw='0:0~10,1:20~30,2:1;2;3'; spw 0, channels 0-10,
spw 1, channels 20-30, and spw 2, channels, 1,2 and 3
spw='1~4;6:15~48' for channels 15 through 48 for spw ids 1,2,3,4 and 6
<type>string</type><type>stringVec</type>