Changeset db427ec in sasview for park_integration
- Timestamp:
- May 25, 2011 4:30:24 PM (14 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:
- ead432b
- Parents:
- a3fc33d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/ScipyFitting.py
ra3fc33d rdb427ec 56 56 self.iterations += 1 57 57 result_param = zip(xrange(n), self.model.parameterset) 58 msg1 = ["[Iteration #: %s ]" % self.iterations] 59 msg3 = ["=== goodness of fit: %s ===" % (str(self.fitness))] 58 60 if not self.is_mac: 59 msg1 = ["[Iteration #: %s ]" % self.iterations]60 61 msg2 = ["P%-3d %s......|.....%s" % \ 61 62 (p[0], p[1], p[1].value)\ 62 63 for p in result_param if p[1].name in self.param_list] 63 64 msg3 = ["=== goodness of fit: %s ===" % (str(self.fitness))]65 64 msg = msg1 + msg3 + msg2 66 msg = "\n".join(msg)67 65 else: 68 msg = '' 66 msg = msg1 + msg3 67 msg = "\n".join(msg) 69 68 return msg 70 69 … … 147 146 fitresult=result, curr_thread= self.curr_thread) 148 147 try: 149 148 out, cov_x, _, mesg, success = optimize.leastsq(functor, 150 149 model.get_params(self.param_list), 151 150 ftol=ftol,
Note: See TracChangeset
for help on using the changeset viewer.