nraonrao
 
NRAO Home > CASA > CasaRef
ms.uvsub - Function

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

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.