Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: imagerpositiontest.set_clean_mask - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.make_model_image - Function


imagerpositiontest.make_ms - Function



Package synthesis
Module synthesistester
Tool imagerpositiontest


Make the MS containing the simulated data


Synopsis
make_ms(clfile, docorrupt, noiselevel)


Description
Make the MS containing the simulated data. It is usually a good idea just to let dotests() call this function.



Arguments

clfile The name of the coponentlist disk table to use for generating the MS
Allowed: String (a valid componentlist table name)
Default: unset (will use the tool's default or that specified by the user in set_componentlisttable())
docorrupt Should noise be added to the MS data?
Allowed: Boolean
Default: F
noiselevel If docorrupt==T, the level of the noise that is passed to simulator.corrupt()
Allowed: String (a valid flux density quantity)
Default: F


Returns
T or fail


Example
- include 'imagerpositiontest.g';
- ipt := imagerpositiontest();
- ipt.make_default_simulator();
- ipt.make_default_cl();
# make the ms and corrupt with a noise level of 1 Jy
- ipt.make_ms('imager_position_test/simu_comp.cl',T,'1Jy');
T





next up previous contents index
Next: imagerpositiontest.set_clean_mask - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.make_model_image - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15