colour.msds_zeros

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

Returns the multi-spectral distributionss with given labels and given spectral shape filled with zeros.

Parameters
Returns

Zeros filled multi-spectral distributions.

Return type

MultiSpectralDistributions

Notes

Examples

>>> msds = msds_zeros(labels=['a', 'b', 'c'])
>>> msds.shape
SpectralShape(360.0, 780.0, 1.0)
>>> msds[400]
array([ 0.,  0.,  0.])
>>> msds.labels  
['a', 'b', 'c']