count_parameters

autoeis.parser.count_parameters(circuit: str) int

Returns the number of parameters present in a circuit string.

Parameters:

circuit (str) – CDC string representation of the input circuit. See here for details.

Returns:

The number of parameters present in the circuit.

Return type:

int

Examples

>>> count_parameters("R1-[R2,P4]")
4