Changeset 0eb801a in sasview for park_integration
- Timestamp:
- Aug 8, 2008 1:04:05 PM (16 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:
- ee5b04c
- Parents:
- f1181977
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/ScipyFitting.py
rd4b0687 r0eb801a 55 55 @return cov: Covariance matrix 56 56 """ 57 # Protect against simultanous fitting attempts 58 if len(self.fitArrangeList)>1: 59 raise RuntimeError, "Scipy can't fit more than a single fit problem at a time." 60 57 61 # fitproblem contains first fitArrange object(one model and a list of data) 58 62 fitproblem=self.fitArrangeList.values()[0] … … 123 127 p = [param() for param in pars] 124 128 out, cov_x, info, mesg, success = optimize.leastsq(f, p, full_output=1, warning=True) 125 print info, mesg, success129 #print info, mesg, success 126 130 # Calculate chi squared 127 131 if len(pars)>1:
Note: See TracChangeset
for help on using the changeset viewer.