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]#
Generate a single LED spectral distribution with the specified spectral shape at specified peak wavelength and half spectral width \(\Delta\lambda_{0.5}\) using Ohno (2005) method.
- Parameters:
peak_wavelength (float) – Wavelength at which the single LED spectral distribution peaks.
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 specified by
colour.SPECTRAL_SHAPE_DEFAULTattribute.
References
Examples
>>> sd = sd_single_led_Ohno2005(555, 25) >>> sd.shape SpectralShape(360.0, 780.0, 1.0) >>> sd[555] 1...