dmx.compressor.fx.transformer.utils.get_name_for_func_nodes

dmx.compressor.fx.transformer.utils.get_name_for_func_nodes(candidate: str, used_names: Set[str], base_count: Dict[str, int])

Get the unique name for functional nodes

Parameters:
  • candidate (str) – used as the basis for the unique name, relevant to the user.

  • used_names (Set[str]) – A Set of names already used for nodes

  • base_count (Dict[str, int]) – A dict counting number of names sharing the same candidate base