boxit – Box regions in image above given threshold value. – imaging task

Description

Returns a list of boxes, one for each contiguous set of pixels

above the threshold value. If given “regionfile”, outputs boxes in regionfile+’.rgn’

Parameters

Title

Parameter

Default

Description

imagename

''

regionfile

''

threshold

{'value': float(0.0), 'unit': 'mJy'}

maskname

''

chanrange

''

polrange

''

minsize

int(2)

diag

False

boxstretch

int(1)

overwrite

False

Parameter Explanations

imagename

''

Name of image to threshold

regionfile

''

Output region file

threshold

{'value': float(0.0), 'unit': 'mJy'}

Threshold value. Must include units.

maskname

''

Output mask name (optional).

chanrange

''

Range of channel ids

polrange

''

Range of polarization ids

minsize

int(2)

Minimum number of pixels for a boxable island

diag

False

Count diagonal connections?

boxstretch

int(1)

Increase box sizes by this many pixels beyond thresholded pixels.

overwrite

False

Overwrite existing region file?