colour.plotting.common.filter_cmfs#
- colour.plotting.common.filter_cmfs(filterers: MultiSpectralDistributions | str | Sequence[MultiSpectralDistributions | str], allow_non_siblings: bool = True) Dict[str, MultiSpectralDistributions] [source]#
Return the colour matching functions matching given filterers.
- Parameters:
filterers (MultiSpectralDistributions | str | Sequence[MultiSpectralDistributions | str]) – Filterer or
colour.LMS_ConeFundamentals
,colour.RGB_ColourMatchingFunctions
orcolour.XYZ_ColourMatchingFunctions
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 colour matching functions.
- Return type: