Changeset 93de635d in sasview for park_integration
- Timestamp:
- Apr 5, 2011 4:20:00 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:
- 8aaf534
- Parents:
- ce7fce5
- Location:
- park_integration
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/Fitting.py
r511c6810 r93de635d 50 50 raise ValueError, "enter the keyword scipy or park" 51 51 52 def fit(self, q=None, handler=None, curr_thread=None ):52 def fit(self, q=None, handler=None, curr_thread=None, ftol=1.49012e-8): 53 53 """Perform the fit """ 54 return self._engine.fit(q, handler, curr_thread=curr_thread) 54 return self._engine.fit(q, handler, curr_thread=curr_thread, 55 ftol=ftol) 55 56 56 57 def set_model(self, model, id, pars=[], constraints=[]): -
park_integration/ParkFitting.py
rd7c05a8 r93de635d 144 144 145 145 146 def fit(self, q=None, handler=None, curr_thread=None, ftol= None):146 def fit(self, q=None, handler=None, curr_thread=None, ftol=1.49012e-8): 147 147 """ 148 148 Performs fit with park.fit module.It can perform fit with one model … … 167 167 self.create_assembly(curr_thread=curr_thread) 168 168 localfit = FitSimplex() 169 localfit.ftol = 1e-8169 localfit.ftol = ftol 170 170 171 171 # See `park.fitresult.FitHandler` for details. -
park_integration/ScipyFitting.py
r852354c8 r93de635d 105 105 # return profile(self._fit, *args, **kw) 106 106 107 def fit(self, q=None, handler=None, curr_thread=None ):107 def fit(self, q=None, handler=None, curr_thread=None, ftol=1.49012e-8): 108 108 """ 109 109 """ … … 127 127 128 128 self.curr_thread = curr_thread 129 ftol = curr_thread.ftol129 ftol = ftol 130 130 131 131 # Check the initial value if it is within range -
park_integration/setup.py
rc41e268 r93de635d 2 2 Installation script for SANS fitting 3 3 """ 4 4 import sys 5 if len(sys.argv) == 1: 6 sys.argv.append('install') 5 7 # Then build and install the modules 6 8 from distutils.core import setup, Extension
Note: See TracChangeset
for help on using the changeset viewer.