tof.utils.extract_component_group#

tof.utils.extract_component_group(components, kind)[source]#

Extract a group of components of a given kind from a dictionary of components.

Parameters:
  • components (dict | MappingProxyType) – The components to extract from.

  • kind (str) – The kind of components to extract.

Return type:

MappingProxyType