1 I tried resetting and fitting again:
4 if PLOT_GUESSED_LORENTZIAN:
5 vib_plot(None, freq_axis, psd_data, A_guess, B_guess, C_guess,
6 minFreq, maxFreq, plotVerbose=True)
7 g("A=%g; B=%g; C=%g" % (A_guess, B_guess, C_guess))
8 g("fit f(x) '%s' via A,B,C" % datafilename)
9 A=abs(float(g.getvar('A'))) # A and B only show up as squares in f(x)
10 B=abs(float(g.getvar('B'))) # so ensure we get positive values
11 C=float(g.getvar('C'))
16 But the extra fit cycles had no effect ("After 1 iterations the fit
17 converged." with no real parameter change.).