NRAO Home > CASA > CASA Cookbook and User Reference Manual

6.1.4 Masks (mask)

The mask string contains a LEL expression (see § 6.1.3 above). This string can be an on-the-fly (OTF) mask expression or refer to an image pixel mask.

mask       =      ’’   #  Mask to be applied to the images  
 
#          string containing LEL expression  
 
#          Name of mask applied to each image in the calculation  
#          Default ’’ means no mask;  
#          Example: mask=’"ngc5921.clean.cleanbox.mask">0.5’  
#                   mask=’mask(ngc5921.clean.cleanbox.mask)’

Note that the mask file supplied in the mask parameter must have the same shape, same number of axes and same axes length, as the images supplied in the expr parameter, with one exception. The mask may be missing some of the axes — if this is the case then the mask will be expanded along these axes to become the same shape.

For examples using mask, see § 6.5.2 below.


More information about CASA may be found at the CASA web page

Copyright © 2010 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