PEATDB/Ekin/Base.py
def findBestModel(self, dataset, update=True, models=None, mode=None,
                            checkfunc=None, conv=None, grad=None, alpha=0.01,
                            silent=False):
        """Finds the best fit model using f-testing"""

        thisdata = self.data[dataset]
        #print 'models', models
        if models == None:
            models = copy.deepcopy(self.mode_definition[self.currentmode])

        fitdata, p = Fitting.findBestModel(thisdata, models, checkfunc=checkfunc, conv=conv,
                                            grad=grad, alpha=alpha, silent=silent)

        if update == True:
            if fitdata == None:
                self.setFitData(dataset)
            else:
                self.setFitData(dataset, fitdata)
        return fitdata, p
Finds the best fit model using f-testing
Finds the best fit model using f-testing
Finds the best fit model using f - testing
def findBestModel(self, dataset, update=True, models=None, mode=None,
                            checkfunc=None, conv=None, grad=None, alpha=0.01,
                            silent=False):
        thisdata = self.data[dataset]
        if models == None:
            models = copy.deepcopy(self.mode_definition[self.currentmode])
        fitdata, p = Fitting.findBestModel(thisdata, models, checkfunc=checkfunc, conv=conv,
                                            grad=grad, alpha=alpha, silent=silent)
        if update == True:
            if fitdata == None:
                self.setFitData(dataset)
            else:
                self.setFitData(dataset, fitdata)
        return fitdata, p
def findBestModel ( self , dataset , update = True , models = None , mode = None , checkfunc = None , conv = None , grad = None , alpha = 0.01 , silent = False ) : thisdata = self . data [ dataset ] if models == None : models = copy . deepcopy ( self . mode_definition [ self . currentmode ] ) fitdata , p = Fitting . findBestModel ( thisdata , models , checkfunc = checkfunc , conv = conv , grad = grad , alpha = alpha , silent = silent ) if update == True : if fitdata == None : self . setFitData ( dataset ) else : self . setFitData ( dataset , fitdata ) return fitdata , p
Finds the best fit model using f-testing
Finds the best fit model using f - testing
"""Finds the best fit model using f-testing""" #print 'models', models
self
dataset
update
models
mode
checkfunc
conv
grad
alpha
silent