colour.colorimetry.sd_multi_leds_Ohno2005#
- colour.colorimetry.sd_multi_leds_Ohno2005(peak_wavelengths: ArrayLike, half_spectral_widths: ArrayLike, peak_power_ratios: ArrayLike | None = None, shape: SpectralShape = SPECTRAL_SHAPE_DEFAULT, **kwargs: Any) SpectralDistribution[source]#
Generate a multi-LED spectral distribution with the specified spectral shape at specified peak wavelengths, half spectral widths \(\Delta\lambda_{0.5}\), and peak power ratios according to the Ohno (2005) method.
The multi-LED spectral distribution is computed by summing multiple single LED spectral distributions generated with the
colour.sd_single_led_Ohno2005()function.- Parameters:
peak_wavelengths (ArrayLike) – Wavelengths at which the multi-LED spectral distribution will peak, i.e., the peak wavelengths for each constituent single LED spectral distribution.
half_spectral_widths (ArrayLike) – Half spectral widths \(\Delta\lambda_{0.5}\) for each constituent single LED spectral distribution.
peak_power_ratios (ArrayLike | None) – Peak power ratios for each constituent single LED spectral distribution. If not specified, defaults to unity for all LEDs.
shape (SpectralShape) – Spectral shape used to create the spectral distribution.
kwargs (Any) – {
colour.colorimetry.sd_single_led_Ohno2005()}, See the documentation of the previously listed definition.
- Returns:
Multi-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_multi_leds_Ohno2005( ... np.array([457, 530, 615]), ... np.array([20, 30, 20]), ... np.array([0.731, 1.000, 1.660]), ... ) >>> sd.shape SpectralShape(360.0, 780.0, 1.0) >>> sd[500] 0.1295132...