-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Series' object has no attribute 'real' using EIS_plot method #10
Comments
Having the same problem when I follow the anexed tutorial (Doing this on Python 3.9.2). I guess it has to do that the column is named 're' instead of 'real'? Seems to me that is fitting correctly, but fails at the moment it tries to plot. |
It is same issue as an "Error using Lin_kk function" I've fixed the this issue, but have no authority of "pull request" Reason why issue happened is self.KK_circuit_fit[i].real and self.KK_circuit_fit[i].imag not aligned to array data format. so it should be changed following
|
One solution is to change the 4701 entry |
@FabianPascher I want to apply your solution, I need to fit experimental data as well and I need to fix the same issue. Please reply if you are able to see my comment. |
@gimdeokhwan I want to apply your solution, I need to fit experimental data as well and I need to fix the same issue. Please reply if you are able to see my comment. |
@FabianPascher I've applied your solution and it worked. Note that one needs to change |
I was able to fit an experimental data using
ex.EIS_fit(params=params, circuit='R-RQ-RQ',weight_func='modulus')
However when I tried to plot the data using
ex2.EIS_plot(legend='potential', bode='log', fitting='on')
, it generates the error.I am using python 3.7.9 in windows 10.
The text was updated successfully, but these errors were encountered: