Loading src/yapsut/montecarlo_fitting.py +10 −0 Original line number Diff line number Diff line Loading @@ -79,10 +79,20 @@ class EnsembleFitting_Base : """returns the whole last fitting result""" return self._fitting_result # @property def fitting_bounds(self) : """returns fitting bounds""" return self._fitting_args['bounds'] # @fitting_bounds.setter def fitting_bounds(self,this) : """returns fitting bounds""" if not type(this) in [type([]),type(())] : raise Exception('fitting bounds must be a 2 elements tuple') if not len(this)==2 : raise Exception('fitting bounds must be a 2 elements tuple') self._fitting_args['bounds']=(this[0],this[1]) # @property def residuals(self) : if not self.fit_success : Loading Loading
src/yapsut/montecarlo_fitting.py +10 −0 Original line number Diff line number Diff line Loading @@ -79,10 +79,20 @@ class EnsembleFitting_Base : """returns the whole last fitting result""" return self._fitting_result # @property def fitting_bounds(self) : """returns fitting bounds""" return self._fitting_args['bounds'] # @fitting_bounds.setter def fitting_bounds(self,this) : """returns fitting bounds""" if not type(this) in [type([]),type(())] : raise Exception('fitting bounds must be a 2 elements tuple') if not len(this)==2 : raise Exception('fitting bounds must be a 2 elements tuple') self._fitting_args['bounds']=(this[0],this[1]) # @property def residuals(self) : if not self.fit_success : Loading