When I write: ZfitGUI([zr',zi',fr']), a window pops up with my nyquist plot. I then choose "SelectLine" and click on the plot. I then go to "Circuit" and I input the circuit string and the vector "Pinit" which I think it works as an initial guess. I get a fitting curve (red) by clicking on "FIT". When I go to "Options" to set "LB/UB" variables and then click "FIT" again, I get an error:
Exiting: Maximum number of function evaluations has been exceeded
- increase MaxFunEvals option.
Current function value: NaN