<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://casa.nrao.edu/schema/psetTypes.html">
<task category="imaging, calibration" name="delmod" type="function">
<shortdescription>Deletes model representations in the MS</shortdescription>
This utility task is to be used to delete the model visibility data
representations in the MS.
<param mustexist="true" name="vis" type="path">
<shortdescription>Name of input visibility file (MS)</shortdescription>
<description>Name of input visibility file (MS)</description>
<param name="otf" type="bool">
<shortdescription>Delete the on-the-fly model data keywords</shortdescription>
<description>Delete the on-the-fly model data keywords
The 'otf' representation is the 'scratch-less'
model data, stored as keywords in the MS header
containing model data formation instructions. It
is generated by the setjy, ft, and tclean tasks
(usescratch=False), and if present, overrides the
MODEL_DATA column (if present). If a user wishes
to use the MODEL_DATA column _after_ having
operated with the 'otf' representation, this task
can be used to delete the 'otf' represenatation
to make the MODEL_DATA column visible. (Create
the MODEL_DATA column by using usescratch=True in
setjy, ft, or clean; or by running the clearcal
task with addmodel=True.)
<param subparam="true" name="field" type="string">
<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' models will be deleted)
<param name="scr" type="bool">
<shortdescription>Delete the MODEL_DATA scr col (if it exists)</shortdescription>
<description>Delete the MODEL_DATA scr col (if it exists)
Note: it is not possible to delete the MODEL_DATA
If otf=F and scr=F, delmod will provide a listing
of the header field records.