impedance.py
impedance.py copied to clipboard
A Python package for working with electrochemical impedance data
_Is there a way to constrain the peak frequency value of RQ and RC circuits?_ I've used this package for the last couple of years and I am loving it!...
I've been using impedance.py to fit a porous electrode response by using TLMQ. I noticed two issues: 1) gamma of the CPE element within is not bounded to
Dear Community, I have some EIS data for a certain cell type and it's Nyquist Plot looks pretty weird as the negative imaginary impedance is also quite high, and for...
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,...
**Describe the bug** When trying to fit impedance data to a single circuit element, this package doesn't appear to pass arguments correctly into curve_fit. **To Reproduce** Steps to reproduce the...
**Describe the bug** When I pass real-valued data (integers or floats) into the impedance fitting function (as opposed to complex values) it fails. **To Reproduce** Steps to reproduce the behavior:...
**Describe the bug** When spaces are placed inside parentheses of circuit string definitions, circuit elements cannot be found. **To Reproduce** Steps to reproduce the behavior: 1. Code which generates the...
**Describe the bug** When I pass array-like objects in as frequencies and impedances to the ``CustomCircuit.fit()`` method it throws an error if the frequencies and impedances are numpy arrays. **To...
**Is your feature request related to a problem? Please describe.** Since this package circuit description relies on named elements (R0, R1, C1, etc.) it seems more natural to me (having...
I've modified the way the `circuit_elements` map is generated to enable users to easily add new circuit elements or override existing circuit elements. Circuit elements are now defined by the...