imrebin – Rebin an image by the specified integer factors – analysis task

Description

Parameters

Title

Parameter

Default

Description

imagename

''

outfile

''

factor

numpy.ndarray(0)

region

''

box

''

chans

''

stokes

''

mask

''

dropdeg

False

overwrite

False

stretch

False

crop

True

Parameter Explanations

imagename

''

Name of the input image

outfile

''

Output image name.

factor

numpy.ndarray(0)

Binning factors for each axis. Use imhead or ia.summary to determine axis ordering.

region

''

Region selection. Default is to use the full image.

box

''

Rectangular region to select in direction plane. Default is to use the entire direction plane.

chans

''

Channels to use. Default is to use all channels.

stokes

''

Stokes planes to use. Default is to use all Stokes planes. Stokes planes cannot be rebinned.

mask

''

Mask to use. Default is none.

dropdeg

False

Drop degenerate axes?

overwrite

False

Overwrite the output if it exists? Default False

stretch

False

Stretch the mask if necessary and possible?

crop

True

Remove pixels from the end of an axis to be rebinned if there are not enough to form an integral bin?