@@ -122,27 +122,27 @@ savefig("results/diagrams/actionPotential.pdf")
122122# Limit cycles
123123plotTime = 1.0
124124# Start - Tracking
125- params = (g_Na_sf= 1.0 , g_K_sf= 1.0 , g_L_sf= 1.0 , conv_rate = 2.5 )
125+ params = (g_Na_sf= 1.0 , g_K_sf= 1.0 , g_L_sf= 1.0 , τ = 0.4 )
126126prob_de = ODEProblem (Model. ode!, Model. ic, (0. ,1000.0 ), params, reltol= 1e-8 , abstol= 1e-10 )
127127sol = DifferentialEquations. solve (prob_de, Tsit5 (), maxiters= 1e7 , saveat= 10.0 )
128128sol = Tools. aligned_sol (sol[end ], prob_de, plotTime)
129129plot (sol, label= " Start - Tracking" , idxs= (1 ); plotParams... )
130130
131131# Start - Standard
132- params = (g_Na_sf= 1.0 , g_K_sf= 1.0 , g_L_sf= 1.0 , conv_rate = 2.5 )
132+ params = (g_Na_sf= 1.0 , g_K_sf= 1.0 , g_L_sf= 1.0 , τ = 0.4 )
133133prob_de = ODEProblem (Model. ode!, Model. ic, (0. ,1000.0 ), params, reltol= 1e-8 , abstol= 1e-10 )
134134sol = Tools. aligned_sol (Model. ic, prob_de, plotTime)
135135plot! (sol, label= " Start - Standard" , idxs= (1 ); plotParams... )
136136
137137# End - Small perturbation
138- params = (g_Na_sf= 1.1 , g_K_sf= 1.0 , g_L_sf= 1.0 , conv_rate = 2.5 )
138+ params = (g_Na_sf= 1.1 , g_K_sf= 1.0 , g_L_sf= 1.0 , τ = 0.4 )
139139prob_de = ODEProblem (Model. ode!, Model. ic, (0. ,1000.0 ), params, reltol= 1e-8 , abstol= 1e-10 )
140140sol = DifferentialEquations. solve (prob_de, Tsit5 (), maxiters= 1e7 , saveat= 10.0 )
141141sol = Tools. aligned_sol (sol[end ], prob_de, plotTime)
142142plot! (sol, label= " End - Small Perturbation" , idxs= (1 ); plotParams... )
143143
144144# End - Large perturbation
145- params = (g_Na_sf= 1.5 , g_K_sf= 1.2 , g_L_sf= 0.8 , conv_rate = 2.5 )
145+ params = (g_Na_sf= 1.5 , g_K_sf= 1.2 , g_L_sf= 0.8 , τ = 0.4 )
146146prob_de = ODEProblem (Model. ode!, Model. ic, (0. ,1000.0 ), params, reltol= 1e-8 , abstol= 1e-10 )
147147sol = DifferentialEquations. solve (prob_de, Tsit5 (), maxiters= 1e7 , saveat= 10.0 )
148148sol = Tools. aligned_sol (sol[end ], prob_de, plotTime)
0 commit comments