Changeset d8661fb in sasview


Ignore:
Timestamp:
Oct 11, 2011 7:29:02 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
47d9be79
Parents:
92a5ac92
Message:

make sure the fitresult know all information

Location:
park_integration/src/sans/fit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • park_integration/src/sans/fit/AbstractFitEngine.py

    r444c900e rd8661fb  
    391391                     self.qy_data[self.idx]]) 
    392392        # use only the data point within ROI range 
    393         res = (self.data[self.index_model] - gn)/self.res_err_data[self.idx] 
     393        res = (self.data[self.idx] - gn)/self.res_err_data[self.idx] 
    394394        return res, gn  
    395395         
  • park_integration/src/sans/fit/ScipyFitting.py

    r444c900e rd8661fb  
    121121        else: 
    122122            stderr = None 
    123  
     123             
     124        result.index = data.idx 
    124125        if not (numpy.isnan(out).any()) and (cov_x != None): 
    125126            result.fitness = chisqr 
Note: See TracChangeset for help on using the changeset viewer.