colour.plotting.common.filter_illuminants#
- colour.plotting.common.filter_illuminants(filterers: SpectralDistribution | str | Sequence[SpectralDistribution | str], allow_non_siblings: bool = True) Dict[str, SpectralDistribution] [source]#
Return the illuminants matching given filterers.
- Parameters:
filterers (SpectralDistribution | str | Sequence[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: