colour.sd_zeros

colour.sd_zeros(shape: colour.colorimetry.spectrum.SpectralShape = SPECTRAL_SHAPE_DEFAULT, **kwargs: Any) colour.colorimetry.spectrum.SpectralDistribution[source]

Return a spectral distribution of given spectral shape filled with zeros.

Parameters
Returns

Zeros filled spectral distribution.

Return type

colour.SpectralDistribution

Notes

Examples

>>> sd = sd_zeros()
>>> sd.shape
SpectralShape(360.0, 780.0, 1.0)
>>> sd[400]
0.0