binImageData¶
- lsst.ip.isr.binImageData(inputData, binFactor=8)¶
Bin image and image-like data to reduce its spatial dimensions.
Performs an nxn binning of the input data, reducing both spatial dimensions of each of the input image data by the provided factor.
- Raises:
- TypeError
Raised if either the binning factor is not of type
int, or if the input data to be binned is not of typelsst.afw.image.Exposureor one of its sub-types.