nraonrao
 
NRAO Home > CASA > CasaRef
simulator.corrupt - Function

2.4.1 Corrupt the data with visibility errors
Description

Add errors specified by the set functions (such as noise, gains, polarization leakage, bandpass, etc) to the synthesis data. The errors are applied to the MODEL_DATA, and written to the DATA and CORRECTED_DATA columns. Note that corrupt handles only visibility-plane effects, not image-plane effects such as pointing errors and voltage patterns, which get applied in predict.

NB: Note that simulator currently only supports specification of these errors via use of the setapply (i.e., existing cal tables, a la calibrater) and setnoise methods. The setgain, setbandpass, and setleakage methods are currently disabled. These methods will be re-activated in the near future. (2008Apr03 gmoellen)

Arguments





Returns
bool

Example

sm,openfromms(’3C273XC1.MS’);  
sm.predict(’3C273XC1.FAKE.IMAGE’);  
sm.setnoise( mode=’simplenoise’, simplenoise=’0.1Jy’);  
sm.setpa( mode=’calculate’);  
sm.corrupt();

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.