colour.SpectralShape¶
-
class
colour.
SpectralShape
(start=None, end=None, interval=None)[source]¶ Defines the base object for spectral 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)
-
__init__
(start=None, end=None, interval=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
([start, end, interval])Initialize self.
range
([dtype])Returns an iterable range for the spectral shape.
Attributes
Getter and setter property for the spectral shape boundaries.
Getter and setter property for the spectral shape end.
Getter and setter property for the spectral shape interval.
Getter and setter property for the spectral shape start.