diff --git a/__pycache__/Model.cpython-311.pyc b/__pycache__/Model.cpython-311.pyc index e77852e..100d674 100644 Binary files a/__pycache__/Model.cpython-311.pyc and b/__pycache__/Model.cpython-311.pyc differ diff --git a/fitter.py b/fitter.py index 718d47e..e0179d0 100644 --- a/fitter.py +++ b/fitter.py @@ -69,8 +69,8 @@ class Fitter: ) states = self.initial_values - t = self.tspan - V = model.mem_potential(t) + + V = self.model.mem_potential(t) _calc_curr = model.calculated_current(states, t, V) calculated_current = ( self.convolve_current(_calc_curr, tau=tau_RC)[self.current_time_indecies]