PEATDB/Ekin/ModelDesign.py
def createFitter(self, model, name):
        """Create fitter from the current model entry values"""
        fitclass = Fitting.createClass(**model)
        x,y = self.previewer.getCurrentData()
        X = fitclass(exp_data=zip(x,y),variables=None,
                     callback=self.previewer.updateFit,
                     name=name)
        return X
Create fitter from the current model entry values
Create fitter from the current model entry values
Create fitter from the current model entry values
def createFitter(self, model, name):
        fitclass = Fitting.createClass(**model)
        x,y = self.previewer.getCurrentData()
        X = fitclass(exp_data=zip(x,y),variables=None,
                     callback=self.previewer.updateFit,
                     name=name)
        return X
def createFitter ( self , model , name ) : fitclass = Fitting . createClass ( ** model ) x , y = self . previewer . getCurrentData ( ) X = fitclass ( exp_data = zip ( x , y ) , variables = None , callback = self . previewer . updateFit , name = name ) return X
Create fitter from the current model entry values
Create fitter from the current model entry values
"""Create fitter from the current model entry values"""
self
model
name