colour.SpectralShape¶
-
class
colour.SpectralShape(start=None, end=None, interval=None)[source]¶ Defines the base object for spectral power distribution shape.
Parameters: - start (numeric, optional) – Wavelength \(\lambda_{i}\) range start in nm.
- end (numeric, optional) – Wavelength \(\lambda_{i}\) range end in nm.
- interval (numeric, optional) – Wavelength \(\lambda_{i}\) range interval.
-
start¶
-
end¶
-
interval¶
-
boundaries¶
Examples
>>> SpectralShape(360, 830, 1) SpectralShape(360, 830, 1)
Methods
__init__([start, end, interval])range([dtype])Returns an iterable range for the spectral shape.