Changeset 93f0a586 in sasview for park_integration
- Timestamp:
- Jul 10, 2008 3:13:19 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:
- 16d8e5f
- Parents:
- 85bf28c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/Fitting.py
r9cd84ee r93f0a586 26 26 chisqr1, out1, cov1=engine.fit(pars,qmin,qmax) 27 27 """ 28 def __init__(self ):28 def __init__(self, engine='scipy'): 29 29 """ 30 30 self._engine will contain an instance of ScipyFit or ParkFit 31 31 """ 32 32 self._engine=None 33 self.set_engine(engine) 33 34 34 def fit_engine(self,word):35 def set_engine(self,word): 35 36 """ 36 37 Select the type of Fit … … 63 64 def set_param(self,model,name, pars): 64 65 """ Recieve a dictionary of parameter and save it """ 66 self._engine.set_param(model, name, pars) 65 67 66 68 def remove_data(self,Uid,data=None):
Note: See TracChangeset
for help on using the changeset viewer.