NRAO Home > CASA > CASA Toolkit Reference Manual
ms.uvsub - Function

1.3.1 Subtract model from the corrected visibility data.


Description

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, this process is reversed.

Arguments





Inputs

reverse

When False subtracts model from visibility data; when True adds model to visibility data

allowed:

bool

Default:

false

Returns
bool

Example

 
  The following example subtracts a model from the visibility data leaving  
  the residuals in the corrected data column.  
 
   ms.open(’ngc5921.ms’,nomodify=False)  
   ms.uvsub()  
   ms.close()  
 
   The following example adds the model back into the residuals.  
 
   ms.open(’ngc5921.ms’,nomodify=False)  
   ms.uvsub(reverse=True)  
   ms.close()  
 

__________________________________________________________________


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