group_parameters_by_component¶
- autoeis.parser.group_parameters_by_component(circuit: str) dict[str, list[str]] ¶
Groups parameter labels by component label.
- Parameters:
circuit (str) – CDC string representation of the input circuit. See here for details.
- Returns:
A dictionary of parameter labels grouped by component label.
- Return type:
dict[str, list[str]]
Examples
>>> group_parameters_by_component("R1-[R2,P4]") {'R': ['R1', 'R2'], 'P': ['P4w', 'P4n']}