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.make_ms - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.make_image - Function


imagerpositiontest.make_model_image - Function



Package synthesis
Module synthesistester
Tool imagerpositiontest


Make an image of the simulated component distribution.


Synopsis
make_model_image(template, imagename)


Description
Make an image of the simulated component distribution. You must specify a template image on which to put the simulated components (for ease of use, it is usually best to use an image created by make_image). This function is called by make_image() when the user runs set_clean_mask(type='comps').



Arguments

template Name of the template disk image to use
Allowed: String: (any valid disk image name)
Default: None
imagename Name of the output model image
Allowed: String (any valid file name)
Default: 'simulimage_orig.model'


Returns
T or fail


Example
- include 'imagerpositiontest.g';
- ipt := imagerpositiontest();
- ipt.dotests();
- ipt.make_model_image('imager_position_test/simulimage.dirty','new_model.im');
T
- # and view it to see the simulated sky brightness
- myim := image('new_model.im');
- myim.view();





next up previous contents index
Next: imagerpositiontest.make_ms - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.make_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