delmod – Deletes model representations in the MS – calibration task

Description

This utility task is to be used to delete the model visibility data representations in the MS.

Parameters

Title

Parameter

Default

Description

vis

''

Name of input visibility file (MS)

otf

True

Delete the on-the-fly model data keywords

field

''

Select field using field id(s) or field name(s)

scr

False

Delete the MODEL_DATA scr col (if it exists)

Parameter Explanations

vis

''

Name of input visibility file (MS)

otf

True

Delete the on-the-fly model data keywords

Default=True

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.)

field

''

Select field using field id(s) or field name(s)

Subparameter of otf Default: ‘’ (all fields’ models will be deleted)

scr

False

Delete the MODEL_DATA scr col (if it exists)

Default: False

Note: it is not possible to delete the MODEL_DATA column per field.

If otf=F and scr=F, delmod will provide a listing of the header field records.