synthesismaskhandler

class synthesismaskhandler[source]

tool for mask handling in sysnthesis imaging

synthesismaskhandler is a tool to manupilate mask image used in imager

Methods Summary

done

close maskhandler tool

pruneregions

prune mask regions

synthesismaskhandler

This is used to construct synthesismaskhandler tool.

done()[source]

close maskhandler tool

pruneregions(inmaskname='', prunesize=0.0, chanflag='', outmaskname='')[source]

prune mask regions

Parameters

  • inmaskname (string='') - input mask image name

  • prunesize (double=0.0) - size in pixels to apply pruning

  • chanflag (boolVec='') - list of channel flags

  • outmaskname (string='') - optional pruned mask name. If unspecified, use the default name: inmaskname.pruned

Returns

record

synthesismaskhandler()[source]

This is used to construct synthesismaskhandler tool.