Skip to content
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

Ask for help extracting parameter values from fitted circuits #285

Open
kmylrea opened this issue Dec 9, 2023 · 1 comment
Open

Ask for help extracting parameter values from fitted circuits #285

kmylrea opened this issue Dec 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kmylrea
Copy link

kmylrea commented Dec 9, 2023

Is your feature request related to a problem? Please describe.
No problem - I just wasn't sure how else to contact. Firstly, this is an amazing tool - thank you so much for this!

Describe the solution you'd like
I have used your scripts to put together a script which reads a bunch of .csv files, applies a equivalent circuit model to them all, and then plots. I would like to extract the parameters from the fitting of each .csv file, so I can plot how these parameters vary over the course of the experiment. I might just be being stupid but I can't see how to do this from the supplied documentation. The main stumbling block I can't work out is how to extract the parameters from a fit - if I run print(fit) I get the usual description with the ECM description, fit = TRUE, initial, etc

Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.

@kmylrea kmylrea added the enhancement New feature or request label Dec 9, 2023
@quiksilver10152
Copy link

I just save the fit to a variable
values = circuit.fit(frequencies, Z, global_opt = True)
and reference is directly
list.append(values.parameters_[:])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants