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

2.4.1 Construct a simulator tool using an already existing MS
Description

This is used to construct simulator tools operating on an existing MS. Data can be predicted and/or corrupted on the MS’s given coordinates.

Arguments





Inputs

ms

MeasurementSet to be processed

allowed:

string

Default:

’MS’

Returns
bool

Example

sm.openfromms(’3C273XC1.MS’);  
sm.predict(’3C273XC1.imagename’);  
sm.setnoise(simplenoise=’10mJy’);  
sm.setgain(interval=’100s’, amplitude=[0.01, 0.01]);  
sm.corrupt();  
sm.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.