Commit 57699b32 authored by Heller, William T.'s avatar Heller, William T.
Browse files

Replace sas_temper_engine.py

parent 0726e856
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -475,8 +475,9 @@ def est_uncerts(d, f, modconf, best_model):
            lprof_usm = sas_calc.calc_profile_usm(d, stepped[w]) 
            lprof = sas_calc.calc_profile(d,stepped[w],lprof_usm)
        
        tprof.y = 0.5*(lprof.y-best_model.y)/d.dy
        JT.append(tprof.y/steps[w])
        for z in range(0,len(best_model.y):
            tprof.y[z] = 0.5*(lprof.y[z]-best_model.y[z])/(d.dy[z]*steps[w])
        JT.append(tprof.y)
    
    #this is the matrix that we want
    J_T = np.vstack(JT)