NRAO Home > CASA > CASA Toolkit Reference Manual
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. NOTE: sm.predict assumes the model image units are Jy/pixel, and in fact will overwrite the brightness units of the image itself!

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);  
    sm.corrupt();  
    sm.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