Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/e/PEATDB-2.3/PEATDB/Ekin/Ekin_main.py   PEATDB(Download)
        def updatenow(diff, vrs, fitvals, c, X):
            """callback for fit update"""
            fdata=Fitting.makeFitData(model, vrs, diff) #get ekin fitdata from vars
            self.update(fitdata=fdata, startvars=False, X=X)
            self.update_idletasks()
            model = self.model_type.get()
            #resets current fitdata to generic start values for that model
            self.fitdata = Fitting.makeFitData(model=model)
 
        if fitdata != None:

src/p/e/PEATDB-2.3/PEATDB/Ekin/ModelDesign.py   PEATDB(Download)
    def finishFit(self, X):
        """Call when fitting done"""
        d = self.datasets[self.dsindex]
        model = X.getResult()['model']
        fitdata = Fitting.makeFitData(model, X.variables, X.getError())