colour.colorimetry.sd_gaussian_normal#

colour.colorimetry.sd_gaussian_normal(mu: float, sigma: float, shape: colour.colorimetry.spectrum.SpectralShape = SPECTRAL_SHAPE_DEFAULT, **kwargs: Any) colour.colorimetry.spectrum.SpectralDistribution[source]#

Return a gaussian spectral distribution of given spectral shape at given mean wavelength \(\mu\) and standard deviation \(sigma\).

Parameters
Returns

Gaussian spectral distribution.

Return type

colour.SpectralDistribution

Notes

Examples

>>> sd = sd_gaussian_normal(555, 25)
>>> sd.shape
SpectralShape(360.0, 780.0, 1.0)
>>> sd[555]  
1.0000000...
>>> sd[530]  
0.6065306...