Changeset 90c9cdf in sasview


Ignore:
Timestamp:
Apr 14, 2010 10:55:39 AM (15 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:
1f811dd
Parents:
e54d2c32
Message:

update chisqr for scipyfit

Location:
park_integration
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • park_integration/AbstractFitEngine.py

    re0072082 r90c9cdf  
    379379        if self.fitresult is not None and  self.handler is not None: 
    380380            self.fitresult.set_model(model=self.model) 
     381            fitness = self.chisq(params=params) 
     382            self.fitresult.set_fitness(fitness=fitness) 
    381383            self.handler.set_result(result=self.fitresult) 
    382384            self.handler.update_fit() 
  • park_integration/ScipyFitting.py

    re0072082 r90c9cdf  
    3030    def set_model(self, model): 
    3131        self.model = model 
     32         
     33    def set_fitness(self, fitness): 
     34        self.fitness = fitness 
    3235         
    3336    def __str__(self): 
Note: See TracChangeset for help on using the changeset viewer.