Changeset 6964d44 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
- Timestamp:
- May 22, 2017 7:25:30 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:
- c416a17
- Parents:
- fd1ae6d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
rfd1ae6d1 r6964d44 275 275 residuals.y = y 276 276 277 #try:278 # y = (fn - gn)/en279 # residuals.y = -y280 #except ValueError:281 # msg = "ResidualPlot Error: different number of data points in theory"282 # print msg283 # y = (fn - gn[index][0]) / en284 # residuals.y = y285 277 residuals.x = current_data.x[index][0] 286 278 residuals.dy = numpy.ones(len(residuals.y)) … … 359 351 return residuals 360 352 361 362 353 def binary_encode(i, digits): 363 354 return [i >> d & 1 for d in xrange(digits)]
Note: See TracChangeset
for help on using the changeset viewer.