casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
recipes.pixelmask2cleanmask Namespace Reference

Functions

def pixelmask2cleanmask

Function Documentation

def recipes.pixelmask2cleanmask.pixelmask2cleanmask (   imagename = '',
  maskname = 'mask0',
  maskimage = '',
  usemasked = False 
)
convert pixel(T/F) mask (in a CASA image) to a mask image (1/0)
used for clean
imagename - input imagename that contain a mask to be used
maskname - mask name in the image (default: mask0)
maskimage - output mask image name
usemasked - if True use masked region as a valid region

Definition at line 5 of file pixelmask2cleanmask.py.

Referenced by task_makemask.makemask(), and tests.test_makemask.test_copy.test2_copyimagemask().