colour.colorimetry.LMS_ConeFundamentals#

class colour.colorimetry.LMS_ConeFundamentals(data: ArrayLike | DataFrame | dict | MultiSignals | MultiSpectralDistributions | Sequence | Series | Signal | SpectralDistribution | None = None, domain: ArrayLike | SpectralShape | None = None, labels: Sequence | None = None, **kwargs: Any)[source]#

Bases: MultiSpectralDistributions

Implement support for the Stockman and Sharpe LMS cone fundamentals colour matching functions.

Parameters:
  • data (ArrayLike | DataFrame | dict | MultiSignals | MultiSpectralDistributions | Sequence | Series | Signal | SpectralDistribution | None) – Data to be stored in the multi-spectral distributions.

  • domain (ArrayLike | SpectralShape | None) – Values to initialise the multiple colour.SpectralDistribution class instances colour.continuous.Signal.wavelengths attribute with. If both data and domain arguments are defined, the latter will be used to initialise the colour.continuous.Signal.wavelengths property.

  • labels (Sequence | None) – Names to use for the colour.SpectralDistribution class instances.

  • extrapolator – Extrapolator class type to use as extrapolating function for the colour.SpectralDistribution class instances.

  • extrapolator_kwargs – Arguments to use when instantiating the extrapolating function of the colour.SpectralDistribution class instances.

  • interpolator – Interpolator class type to use as interpolating function for the colour.SpectralDistribution class instances.

  • interpolator_kwargs – Arguments to use when instantiating the interpolating function of the colour.SpectralDistribution class instances.

  • name – Multi-spectral distributions name.

  • display_labels – Multi-spectral distributions labels for figures, default to colour.colorimetry.LMS_ConeFundamentals.labels property value.

  • kwargs (Any)

__init__(data: ArrayLike | DataFrame | dict | MultiSignals | MultiSpectralDistributions | Sequence | Series | Signal | SpectralDistribution | None = None, domain: ArrayLike | SpectralShape | None = None, labels: Sequence | None = None, **kwargs: Any) None[source]#
Parameters:
Return type:

None