PEATDB/Ekin/ModelDesign.py
def testFitter(self):
        """Parse the entry fields and create the fitter"""
        self.currentmodel = self.parseValues()
        X = self.createFitter(self.currentmodel, self.currentname)
        X.guess_start()
        if self.previewer.plotfunctionvar.get() == 1:
            self.previewer.plotframe.clearData()
            self.previewer.plotframe.updateFit(X, showfitvars=True)
        else:
            X.fit(rounds=60)
            self.updateModelsDict()
            #update the global fitting models since the plotter uses them
            Fitting.updateModels(self.modelsdict)
            self.previewer.finishFit(X)
        return
Parse the entry fields and create the fitter
Parse the entry fields and create the fitter
Parse the entry fields and create the fitter
def testFitter(self):
        self.currentmodel = self.parseValues()
        X = self.createFitter(self.currentmodel, self.currentname)
        X.guess_start()
        if self.previewer.plotfunctionvar.get() == 1:
            self.previewer.plotframe.clearData()
            self.previewer.plotframe.updateFit(X, showfitvars=True)
        else:
            X.fit(rounds=60)
            self.updateModelsDict()
            Fitting.updateModels(self.modelsdict)
            self.previewer.finishFit(X)
        return
def testFitter ( self ) : self . currentmodel = self . parseValues ( ) X = self . createFitter ( self . currentmodel , self . currentname ) X . guess_start ( ) if self . previewer . plotfunctionvar . get ( ) == 1 : self . previewer . plotframe . clearData ( ) self . previewer . plotframe . updateFit ( X , showfitvars = True ) else : X . fit ( rounds = 60 ) self . updateModelsDict ( ) Fitting . updateModels ( self . modelsdict ) self . previewer . finishFit ( X ) return
Parse the entry fields and create the fitter
Parse the entry fields and create the fitter
"""Parse the entry fields and create the fitter""" #update the global fitting models since the plotter uses them
self