lsst.ip.isr g564bce9563+4d88945b8c
Classes | Functions
lsst.ip.isr.isrQa Namespace Reference

Classes

class  IsrQaConfig
 
class  IsrQaFlatnessConfig
 

Functions

def makeThumbnail (exposure, isrQaConfig=None)
 

Function Documentation

◆ makeThumbnail()

def lsst.ip.isr.isrQa.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.

Definition at line 119 of file isrQa.py.