PEATDB/Ekin/Titration.py
def findBest(self, E, models, geterrs=False, xuncert=0.1, yuncert=0.03):
        """Find best model for all datasets in an ekin project"""
        for d in E.datasets:
            fdata, p = E.findBestModel(d, models=models)#, checkfunc=self.dostrictchecking)
            if geterrs==True:
                ferrs = E.estimateExpUncertainty(d, runs=20, xuncert=xuncert, yuncert=yuncert)
                if ferrs == None:
                    continue
                E.addMeta(d, 'exp_errors', ferrs)

        return E
Find best model for all datasets in an ekin project
Find best model for all datasets in an ekin project
Find best model for all datasets in an ekin project
def findBest(self, E, models, geterrs=False, xuncert=0.1, yuncert=0.03):
        for d in E.datasets:
            fdata, p = E.findBestModel(d, models=models)
            if geterrs==True:
                ferrs = E.estimateExpUncertainty(d, runs=20, xuncert=xuncert, yuncert=yuncert)
                if ferrs == None:
                    continue
                E.addMeta(d, 'exp_errors', ferrs)
        return E
def findBest ( self , E , models , geterrs = False , xuncert = 0.1 , yuncert = 0.03 ) : for d in E . datasets : fdata , p = E . findBestModel ( d , models = models ) if geterrs == True : ferrs = E . estimateExpUncertainty ( d , runs = 20 , xuncert = xuncert , yuncert = yuncert ) if ferrs == None : continue E . addMeta ( d , 'exp_errors' , ferrs ) return E
Find best model for all datasets in an ekin project
Find best model for all datasets in an ekin project
"""Find best model for all datasets in an ekin project""" #, checkfunc=self.dostrictchecking)
self
E
models
geterrs
xuncert
yuncert