pKaTool/stab_fit/myfitter.py
def residuals(self, p, args=None):
        """Evaluate the func residuals given parameters"""
        r=[]
        x=self.x; y=self.y
        fit=[self.func(i,p) for i in x]        
        r = [math.pow(i[0]-i[1],2) for i in zip(fit,y)]
        return r
Evaluate the func residuals given parameters
Evaluate the func residuals given parameters
Evaluate the func residuals given parameters
def residuals(self, p, args=None):
        r=[]
        x=self.x; y=self.y
        fit=[self.func(i,p) for i in x]        
        r = [math.pow(i[0]-i[1],2) for i in zip(fit,y)]
        return r
def residuals ( self , p , args = None ) : r = [ ] x = self . x ; y = self . y fit = [ self . func ( i , p ) for i in x ] r = [ math . pow ( i [ 0 ] - i [ 1 ] , 2 ) for i in zip ( fit , y ) ] return r
Evaluate the func residuals given parameters
Evaluate the func residuals given parameters
"""Evaluate the func residuals given parameters"""
self
p
args