impedance.py icon indicating copy to clipboard operation
impedance.py copied to clipboard

Improvement: proportional weighting option

Open etrevis opened this issue 3 years ago • 0 comments

Added the 'weight_proportionally' optional argument to circuit_fit(). This basically scales down the residual by the real and imaginary components, respectively.

At the moment, if both 'weight_by_modulus' and 'weight_proportionally' are specified, the first will be executed.

Appropriate tests were added.

etrevis avatar Jun 28 '22 07:06 etrevis