NRAO Home > CASA > CASA Task Reference Manual

0.1.137 uvsub

Requires:

Synopsis
Subtract/add model from/to the corrected visibility data.

Description

This function subtracts model visibility data (MODEL_DATA column) from corrected visibility data (CORRECTED_DATA column) leaving the residuals in the corrected data column. If the parameter ’reverse’ is set true, the process is reversed. Note the DATA column is left untouched. If the ms has no CORRECTED _DATA column, one is made, copying DATA column, ahead of doing the uvsub process

Arguments





Inputs

vis

Name of input visibility file (MS)

allowed:

string

Default:

reverse

reverse the operation (add rather than subtract)

allowed:

bool

Default:

False

Returns
void

Example

 
        Help for uvsub task  
 
        This function subtracts model visibility data from corrected visibility  
        data leaving the residuals in the corrected data column.  If the  
        parameter ’reverse’ is set true, the process is reversed.  
Please note the model visibility used is the one that has been saved in the MODEL_DATA of the MS and the  
CORRECTED_DATA column is the one that is modified. If no CORRECTED_DATA column exists in the MS, one will be created and  
a copy of the DATA column is saved in it  before the uvsub operation selected is performed. uvsub does not modify the DATA column.  
 
        Keyword arguments:  
        vis -- Name of input visibility file (MS)  
                default: none; example: vis=’ngc5921.ms’  
        reverse -- Reverse the operation (add rather than subtract)  
                default: False; example: reverse=true  
 
        uvsub(vis=’ngc5921.ms’, reverse=False)  
 


More information about CASA may be found at the CASA web page

Copyright © 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search