imrebin – Rebin an image by the specified integer factors – analysis task
Description
Parameters
Parameter |
Default |
Description |
|---|---|---|
imagename |
|
Name of the input image |
outfile |
|
Output image name. |
factor |
|
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 |
|
Drop degenerate axes? |
overwrite |
|
Overwrite the output if it exists? Default False |
stretch |
|
Stretch the mask if necessary and possible? |
crop |
|
Remove pixels from the end of an axis to be rebinned if there are not enough to form an integral bin? |
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?