Changeset b0b09b9 in sasview for src/sas/qtgui/Plotting/Fittings.py
- Timestamp:
- Oct 26, 2017 3:13:05 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:
- 895e7359
- Parents:
- def64a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Fittings.py
- Property mode changed from 100644 to 100755
radc49fc rb0b09b9 97 97 # Testing implementation 98 98 # Fit a Line model 99 from LineModel import LineModel99 from .LineModel import LineModel 100 100 line = LineModel() 101 101 cstA = Parameter(line, 'A', event.cstA) … … 104 104 chisqr, out, cov = sasfit(line, [cstA, cstB], event.x, y, 0) 105 105 # print "Output parameters:", out 106 print "The right answer is [70.0, 1.0]"107 print chisqr, out, cov106 print("The right answer is [70.0, 1.0]") 107 print(chisqr, out, cov) 108 108
Note: See TracChangeset
for help on using the changeset viewer.