<?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="delmod" category="calibration">
<shortdescription>Deletes model representations in the MS</shortdescription>
<param type="string" name="vis" mustexist="true">
<description>Name of input visibility file (MS)</description>
<param type="bool" name="otf">
<description>Delete the on-the-fly model data keywords</description>
<param type="string" name="field" subparam="true">
<description>Select field using field id(s) or field name(s)</description>
<param type="bool" name="scr">
<description>Delete the MODEL_DATA scr col (if it exists)</description>
<equals type="bool" value="True">
<default param="field"><value type="string"/></default>
<equals type="bool" value="False"/>
This utility task is to be used to delete the model visibility
data representations in the MS. The 'otf' representation is
the new (as of v3.4) 'scratch-less' model data, stored as
keywords in the MS header containing model data formation
instructions. It is generated by the setjy, ft, and clean
tasks (usescratch=F), and if present, overrides the
old-fashioned 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=T in setjy, ft, or clean; or by running the
clearcal task with addmodel=T.)
If otf=T, specific fields can be selected for deletion
using standard field selection semantics. If field='',
all fields' models will be deleted.