Changeset 95d58d3 in sasview for src/sans/fit/ScipyFitting.py
- Timestamp:
- Apr 10, 2014 8:05:28 PM (11 years ago)
- 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:
- 90f49a8
- Parents:
- 6fe5100
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/fit/ScipyFitting.py
r6fe5100 r95d58d3 49 49 if len(self.true_res) == 0: 50 50 return None 51 return total / len(self.true_res)51 return total / (len(self.true_res) - len(self.paramlist)) 52 52 53 53 def __call__(self, params): … … 205 205 _check_param_range(model.model, self.param_list) 206 206 207 result = FResult(model=model , data=data, param_list=self.param_list)207 result = FResult(model=model.model, data=data, param_list=self.param_list) 208 208 result.pars = fitproblem[0].pars 209 209 result.fitter_id = self.fitter_id
Note: See TracChangeset
for help on using the changeset viewer.