diff --git a/Model.py b/Model.py index f99227f..cc5f129 100644 --- a/Model.py +++ b/Model.py @@ -88,7 +88,7 @@ class Model: self.gCaL = ( 0.1729 # mS/uF, Specific maximum conductivity for L-type Ca2+ channel ) - self.ECaL = 43.0 # mV, Reversal potential for L-type Ca2⫹ channel, kas arvutame voi jaab const? + self.ECaL = 43.0 # mV, Reversal potential for L-type Ca2 self.V_ss = 1.485e-9 # uL, Dyadic aka subspace volume # self.Ca_JSR = 1299.50 # uM, JSR Ca2+ concentration diff --git a/__pycache__/Model.cpython-311.pyc b/__pycache__/Model.cpython-311.pyc index 100d674..7f5f490 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 e0179d0..bdb2852 100644 --- a/fitter.py +++ b/fitter.py @@ -69,8 +69,8 @@ class Fitter: ) states = self.initial_values - - V = self.model.mem_potential(t) + t = model.tspan + V = 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]