makeThumbnail

lsst.ip.isr.makeThumbnail(exposure, isrQaConfig=None)

Create a snapshot thumbnail from input exposure.

The output thumbnail image is constructed based on the parameters in the configuration file. Currently, the asinh mapping is the only mapping method used.

Parameters:
exposure : lsst.afw.image.Exposure

The exposure to be converted into a thumbnail.

isrQaConfig : Config

Configuration object containing all parameters to control the thumbnail generation.

Returns:
rgbImage : numpy.ndarray

Binned and scaled version of the exposure, converted to an integer array to allow it to be written as PNG.