Changeset fef38e8 in sasview for src/sas/qtgui/Plotting/Fittings.py
- Timestamp:
- Sep 13, 2017 6:24:34 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 3c8242c
- Parents:
- 9909967
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Fittings.py
- Property mode changed from 100755 to 100644
rdc5ef15 rfef38e8 14 14 15 15 """ 16 from scipy import optimize17 18 19 16 class Parameter(object): 20 17 """ … … 84 81 sum += item * item 85 82 return sum 86 83 # This import takes a long time, which is why it's here not in the top of file 84 from scipy.optimize import leastsq 87 85 p = [param() for param in pars] 86 #out, cov_x, info, mesg, success = optimize.leastsq(f, p, full_output=1) 88 87 out, cov_x, info, mesg, success = optimize.leastsq(f, p, full_output=1) 89 88 # Calculate chi squared
Note: See TracChangeset
for help on using the changeset viewer.