rebin()
Rebin an image by an integer factor.
img (array_like) – Array or cube of arrays to rebin. If a cube is provided, the first dimension should index the image slices.
factor (int) – Rebinning factor
img – Rebinned image
ndarray
See also
rescale()