pKaTool/stab_fit/myfitter.py
def evaluate(self, p, args=None):
        """Evaluate func and get sum sq res for given params""" 
        x=self.x; y=self.y
        fit=[self.func(i,p) for i in x]
        r=0
        for i in zip(fit,y):
            r += math.pow(i[0]-i[1],2)
        return r
Evaluate func and get sum sq res for given params
Evaluate func and get sum sq res for given params
Evaluate func and get sum sq res for given params
def evaluate(self, p, args=None):
        x=self.x; y=self.y
        fit=[self.func(i,p) for i in x]
        r=0
        for i in zip(fit,y):
            r += math.pow(i[0]-i[1],2)
        return r
def evaluate ( self , p , args = None ) : x = self . x ; y = self . y fit = [ self . func ( i , p ) for i in x ] r = 0 for i in zip ( fit , y ) : r += math . pow ( i [ 0 ] - i [ 1 ] , 2 ) return r
Evaluate func and get sum sq res for given params
Evaluate func and get sum sq res for given params
"""Evaluate func and get sum sq res for given params"""
self
p
args