Frederik Huld

Results 6 comments of Frederik Huld

Hi @fatmaoza. bounds takes a tuple, not a list. Try replacing your [ ] with ( ), like this: `circuit.fit(frequencies, Z, bounds=((0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5),(1,1,1,1,1,1,1,1,1)))`

Hi @fatmaoza. Without an example of your data or code it's hard to know exactly what's going on. If the fit isn't converging it could be because the fit is...

Thank you @mdmurbach. I'm not quite sure how to calculate these values when the data is a complex value. I guess we would just take the real part and go...

*Edit: the code published below was incorrect (missing **2 in Chi_square, used complex value instead of real portion) when I submitted it yesterday. Hi @krillin666. I don't have a background...

Sure thing. Here's an example of what the output looks like with a simple 2-RC loop circuit: ``` import pandas as pd import numpy as np import matplotlib.pyplot as plt...

In the above example `componentFitting()` is the function that is posted to my fork. Unfortunately the function currently fails for series components inside parallels, e.g. `'p(C0,R0-W)'` , and nested parallel...