pKaTool/activity_fit/fit_pHact_J.py
def activity_diff(self):
        """Get the sum of differences between exp data and fitted data"""
        act_prof_and_tc = self.get_act_prof()
        diff = 0.0
        for ph,act in self.exp_data:
            diff = diff + abs(act_prof_and_tc[ph]-act)
        return diff
Get the sum of differences between exp data and fitted data
Get the sum of differences between exp data and fitted data
Get the sum of differences between exp data and fitted data
def activity_diff(self):
        act_prof_and_tc = self.get_act_prof()
        diff = 0.0
        for ph,act in self.exp_data:
            diff = diff + abs(act_prof_and_tc[ph]-act)
        return diff
def activity_diff ( self ) : act_prof_and_tc = self . get_act_prof ( ) diff = 0.0 for ph , act in self . exp_data : diff = diff + abs ( act_prof_and_tc [ ph ] - act ) return diff
Get the sum of differences between exp data and fitted data
Get the sum of differences between exp data and fitted data
"""Get the sum of differences between exp data and fitted data"""
self