twpasolver.bonus_types module#

Type annotations module.

twpasolver.bonus_types.validate_impedance(Z: complex | float | str) → complex | float[source]#

Convert impedance to complex with positive real part; purely real values become float.