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