convert_to_impedance_format

autoeis.parser.convert_to_impedance_format(circuit: str) str

Converts a circuit string the format used by impedance.py.

Parameters:

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

Returns:

The circuit string in the format used by impedance.py.

Return type:

str

Examples

>>> convert_to_impedance_format("R1-[R2,P4]")
'R1-p(R2,CPE4)'