lsst.afw g8cdfe0ae6a+7b97e349f2
|
Public Member Functions | |
__init__ (self, image, nSamples=1000, contrast=0.25) | |
A mapping for a linear stretch chosen by the zscale algorithm (preserving colours independent of brightness) x = (I - minimum)/range Parameters ---------- image Image whose parameters are desired nSamples : `int` The number of samples to use to estimate the zscale parameters contrast : `float`
Definition at line 259 of file _rgbContinued.py.
lsst.afw.display.rgb._rgbContinued.ZScaleMapping.__init__ | ( | self, | |
image, | |||
nSamples = 1000, | |||
contrast = 0.25 ) |
Reimplemented from lsst.afw.display.rgb._rgbContinued.LinearMapping.
Definition at line 274 of file _rgbContinued.py.