colour.plotting.common.filter_cmfs#
- colour.plotting.common.filter_cmfs(filterers: colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str], allow_non_siblings: bool = True) Dict[str, colour.colorimetry.spectrum.MultiSpectralDistributions][source]#
Return the colour matching functions matching given filterers.
- Parameters
filterers (colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str]) – Filterer or
colour.LMS_ConeFundamentals,colour.RGB_ColourMatchingFunctionsorcolour.XYZ_ColourMatchingFunctionsclass instance (which is passed through directly if its type is one of the mapping element types) or list of filterers.filtererselements 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