author has lost his mind
This commit is contained in:
parent
c232400943
commit
a5a731376d
2
Model.py
2
Model.py
@ -88,7 +88,7 @@ class Model:
|
|||||||
self.gCaL = (
|
self.gCaL = (
|
||||||
0.1729 # mS/uF, Specific maximum conductivity for L-type Ca2+ channel
|
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.V_ss = 1.485e-9 # uL, Dyadic aka subspace volume
|
||||||
|
|
||||||
# self.Ca_JSR = 1299.50 # uM, JSR Ca2+ concentration
|
# self.Ca_JSR = 1299.50 # uM, JSR Ca2+ concentration
|
||||||
|
Binary file not shown.
@ -69,8 +69,8 @@ class Fitter:
|
|||||||
)
|
)
|
||||||
|
|
||||||
states = self.initial_values
|
states = self.initial_values
|
||||||
|
t = model.tspan
|
||||||
V = self.model.mem_potential(t)
|
V = model.mem_potential(t)
|
||||||
_calc_curr = model.calculated_current(states, t, V)
|
_calc_curr = model.calculated_current(states, t, V)
|
||||||
calculated_current = (
|
calculated_current = (
|
||||||
self.convolve_current(_calc_curr, tau=tau_RC)[self.current_time_indecies]
|
self.convolve_current(_calc_curr, tau=tau_RC)[self.current_time_indecies]
|
||||||
|
Loading…
Reference in New Issue
Block a user