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