Changeset c79ee796 in sasview for park_integration/AbstractFitEngine.py
- Timestamp:
- Mar 6, 2009 2:55:59 PM (15 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:
- 19ef1e5
- Parents:
- 7b73518
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/AbstractFitEngine.py
r26cb768 rc79ee796 38 38 return the range of parameter 39 39 """ 40 lo,hi = self._model.details[self.name][1:] 41 if lo is None: lo = -numpy.inf 42 if hi is None: hi = numpy.inf 40 if not self.name in self._model.getDispParamList(): 41 lo,hi = self._model.details[self.name][1:] 42 if lo is None: lo = -numpy.inf 43 if hi is None: hi = numpy.inf 44 else: 45 lo= -numpy.inf 46 hi= numpy.inf 43 47 return lo,hi 48 44 49 45 50 def _setrange(self,r): … … 152 157 @return residuals 153 158 """ 159 154 160 x,y,dy = [numpy.asarray(v) for v in (self.x,self.y,self.dy)] 155 161 if self.qmin==None and self.qmax==None: … … 244 250 if self.smearer is not None: 245 251 fx = self.smearer(fx) 246 247 252 # Sanity check 248 253 if numpy.size(dy) < numpy.size(x): … … 341 346 Sans Assembly class a class wrapper to be call in optimizer.leastsq method 342 347 """ 348 343 349 def __init__(self,paramlist,Model=None , Data=None): 344 350 """
Note: See TracChangeset
for help on using the changeset viewer.