colour.sd_zeros

colour.sd_zeros(shape=SpectralShape(360, 780, 1), **kwargs)[source]

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

Parameters
  • shape (SpectralShape, optional) – Spectral shape used to create the spectral distribution.

  • **kwargs (dict, optional) – {colour.sd_constant()}, Please refer to the documentation of the previously listed definition.

Returns

Zeros filled spectral distribution.

Return type

SpectralDistribution

Notes

Examples

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