binExposure¶
- lsst.ip.isr.binExposure(inputExposure, binFactor=8)¶
Bin an exposure to reduce its spatial dimensions.
Performs an nxn binning of the input exposure, reducing both spatial dimensions of each of the input exposure’s 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.Exposure
or one of its sub-types.