imager.drawmask - Function

2.3.1 Allows you do draw mask using the viewer
Description

A mask image is an image with the same shape as the other images but with values between 0.0 and 1.0 as a pixel value. Mask images are used in imager to control the region selected in a deconvolution.

drawmask is used to interactively draw regions over a template image which you want to allow deconvolution to occur.

Arguments





Inputs

image

name of template image

allowed:

string

Default:

mask

name of image to save mask in

allowed:

string

Default:

Returns
bool

Example

im.drawmask(image=’mytemplate.image’, mask=’myregions.mask’)  
im.clean(mask=’myregions.mask’, model=’3C273XC1.clean.masked’, niter=1000)

Make mask image by drawing interactively over a given image ’mytemplate.image’, then image and clean the visibilties using it as the ”clean regions”.

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.