Changeset adc49fc in sasview


Ignore:
Timestamp:
Sep 21, 2017 3:31:24 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:
01cda57, 9c39b317
Parents:
8f2548c
Message:

Fixed linear fit scipy call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/Fittings.py

    rfef38e8 radc49fc  
    8484    from scipy.optimize import leastsq 
    8585    p = [param() for param in pars] 
    86     #out, cov_x, info, mesg, success = optimize.leastsq(f, p, full_output=1) 
    87     out, cov_x, info, mesg, success = optimize.leastsq(f, p, full_output=1) 
     86    out, cov_x, info, mesg, success = leastsq(f, p, full_output=1) 
    8887    # Calculate chi squared 
    8988    if len(pars) > 1: 
Note: See TracChangeset for help on using the changeset viewer.