colour.plotting.common.filter_illuminants#
- colour.plotting.common.filter_illuminants(filterers: colour.colorimetry.spectrum.SpectralDistribution | str | collections.abc.Sequence[colour.colorimetry.spectrum.SpectralDistribution | str], allow_non_siblings: bool = True) Dict[str, colour.colorimetry.spectrum.SpectralDistribution] [source]#
Return the illuminants matching given filterers.
- Parameters
filterers (colour.colorimetry.spectrum.SpectralDistribution | str | collections.abc.Sequence[colour.colorimetry.spectrum.SpectralDistribution | str]) – Filterer or
colour.SpectralDistribution
class instance (which is passed through directly if its type is one of the mapping element types) or list of filterers.filterers
elements can also be of any form supported by thecolour.plotting.common.filter_passthrough()
definition.allow_non_siblings (bool) – Whether to allow non-siblings to be also passed through.
- Returns
Filtered illuminants.
- Return type