get_parameter_labels¶
- autoeis.parser.get_parameter_labels(circuit: str, types: list[str] | None = None) list[str] ¶
Returns a list of labels for all parameters in a circuit string.
- Parameters:
circuit (str) – CDC string representation of the input circuit. See here for details.
types (list[str], optional) – List of parameter types to filter by. Default is None.
- Returns:
A list of parameter labels.
- Return type:
list[str]
Examples
>>> get_parameter_labels("R1-[R2,P4]") ['R1', 'R2', 'P4w', 'P4n'] >>> get_parameter_labels("R1-[R2,P4]", types=["R"]) ['R1', 'R2']