Ignore:
Timestamp:
May 22, 2017 7:25:30 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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
Message:

Minor fixes in fitpage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py

    rfd1ae6d1 r6964d44  
    275275        residuals.y = y 
    276276 
    277     #try: 
    278     #    y = (fn - gn)/en 
    279     #    residuals.y = -y 
    280     #except ValueError: 
    281     #    msg = "ResidualPlot Error: different number of data points in theory" 
    282     #    print msg 
    283     #    y = (fn - gn[index][0]) / en 
    284     #    residuals.y = y 
    285277    residuals.x = current_data.x[index][0] 
    286278    residuals.dy = numpy.ones(len(residuals.y)) 
     
    359351    return residuals 
    360352 
    361  
    362353def binary_encode(i, digits): 
    363354    return [i >> d & 1 for d in xrange(digits)] 
Note: See TracChangeset for help on using the changeset viewer.