colour.characterisation.RGB_DisplayPrimaries#

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

Bases: colour.colorimetry.spectrum.MultiSpectralDistributions

Implement support for a RGB display (such as a CRT or LCD) primaries multi-spectral distributions.

Parameters
  • data (Optional[Union[ArrayLike, DataFrame, dict, MultiSignals, MultiSpectralDistributions, Sequence, Series, Signal, SpectralDistribution]]) – Data to be stored in the multi-spectral distributions.

  • domain (Optional[Union[ArrayLike, SpectralShape]]) – 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 (Optional[Sequence]) – 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.

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

  • kwargs (Any) –

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