colour.colorimetry.sd_single_led_Ohno2005#
- colour.colorimetry.sd_single_led_Ohno2005(peak_wavelength: float, half_spectral_width: float, shape: SpectralShape = SPECTRAL_SHAPE_DEFAULT, **kwargs: Any) SpectralDistribution [source]#
Return a single LED spectral distribution of given spectral shape at given peak wavelength and half spectral width \(\Delta\lambda_{0.5}\) according to Ohno (2005) method.
- Parameters:
peak_wavelength (float) – Wavelength the single LED spectral distribution will peak at.
half_spectral_width (float) – Half spectral width \(\Delta\lambda_{0.5}\).
shape (SpectralShape) – Spectral shape used to create the spectral distribution.
kwargs (Any) – {
colour.SpectralDistribution
}, See the documentation of the previously listed class.
- Returns:
Single LED spectral distribution.
- Return type:
Notes
By default, the spectral distribution will use the shape given by
colour.SPECTRAL_SHAPE_DEFAULT
attribute.
References
Examples
>>> sd = sd_single_led_Ohno2005(555, 25) >>> sd.shape SpectralShape(360.0, 780.0, 1.0) >>> sd[555] 1...