Update calib_analyze_all for nested Configs.
[calibcant.git] / .be / bugs / f3ba76cd-eddd-4520-bb2a-17ca371ac6b6 / comments / 7bb7514d-f094-461c-8b96-04590415282c / body
1 I tried resetting and fitting again:
2
3     for i in range(5):
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'))
12         A_guess = A
13         B_guess = B
14         C_guess = C
15  
16 But the extra fit cycles had no effect ("After 1 iterations the fit
17 converged." with no real parameter change.).
18