Source
1
-
<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">
2
-
3
-
<task type="function" name="uvsub" category="manipulation, calibration">
4
-
<shortdescription>Subtract/add model from/to the corrected visibility data.</shortdescription>
5
-
<description>
6
-
This function subtracts model visibility data (MODEL_DATA column) from corrected visibility
7
-
data (CORRECTED_DATA column) leaving the residuals in the corrected data column. If the
8
-
parameter 'reverse' is set true, the process is reversed. Note the DATA column is left untouched.
9
-
If the ms has no CORRECTED _DATA column, one is made, copying DATA column, ahead of doing the
10
-
uvsub process
11
-
</description>
12
-
<input>
13
-
<param type="path" name="vis" mustexist="true"><shortdescription>Name of input visibility file (MS)</shortdescription><description>Name of input visibility file (MS)</description>
14
-
15
-
<value/>
16
-
<example>vis='ngc5921.ms'</example>
17
-
</param>
18
-
19
-
<param type="bool" name="reverse"><shortdescription>reverse the operation (add rather than subtract)</shortdescription><description>reverse the operation (add rather than subtract)</description>
20
-
21
-
<value>False</value>
22
-
</param>
23
-
24
-
<constraints>
25
-
</constraints>
26
-
</input>
27
-
<returns type="void"/>
28
-
29
-
<example>
30
-
Help for uvsub task
31
-
32
-
This function subtracts model visibility data from corrected visibility
33
-
data leaving the residuals in the corrected data column. If the
34
-
parameter 'reverse' is set true, the process is reversed.
35
-
Please note the model visibility used is the one that has been saved in the MODEL_DATA of the MS and the
36
-
CORRECTED_DATA column is the one that is modified. If no CORRECTED_DATA column exists in the MS, one will be created and
37
-
a copy of the DATA column is saved in it before the uvsub operation selected is performed. uvsub does not modify the DATA column.
38
-
39
-
Keyword arguments:
40
-
vis -- Name of input visibility file (MS)
41
-
default: none; example: vis='ngc5921.ms'
42
-
reverse -- Reverse the operation (add rather than subtract)
43
-
default: False; example: reverse=true
44
-
45
-
uvsub(vis='ngc5921.ms', reverse=False)
46
-
47
-
</example>
48
-
</task>
49
-
</casaxml>