<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" ?>
<casaxml xmlns="http://casa.nrao.edu/schema/psetTypes.html"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd
file:///opt/casa/code/xmlcasa/xml/casa.xsd">
<task type="function" name="clearcal" category="calibration">
<shortdescription>Re-initializes the calibration for a visibility data set</shortdescription>
Clearcal reinitializes the calibration columns in a measurement
set. Specificially, it will set the MODEL_DATA column (if present) to
unity in total intensity and zero in polarization, and it will set the
CORRECTED_DATA column to the original (observed) DATA in the DATA
column. Use the field and spw parameters to select which data to
initialize. If the dataset does not yet have the scratch columns,
they will be created (MODEL_DATA only if addmodel=True) and initilized
for the whole dataset (field, spw, and intent will be ignored in this
<param type="string" name="vis" mustexist="true">
<shortdescription>Name of input visibility file (MS)</shortdescription>
<description>Name of input visibility file (MS)
Example: vis='ngc5921.ms'
<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)
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
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
field = '3,4C*'; field id 3, all names
<param type="string" name="spw">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
spw='0~2,4'; spectral windows 0,1,2,4 (all
spw='<2'; spectral windows less than 2
spw='0:5~61'; spw 0, channels 5 to 61,
spw='*:5~61'; all spw with channels 5 to 61