lsst.afw g4e8c878dce+b648b522b0
|
Public Member Functions | |
def | __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.
def 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.