Skip to content

Commit

Permalink
change name of calibration files
Browse files Browse the repository at this point in the history
  • Loading branch information
adajel committed Aug 26, 2024
1 parent d68f06a commit 562940e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import dolfin as df
import numpy as np
import matplotlib.pyplot as plt
import mm_hh_glial_calibration_ODE as ode
import mm_two_tags_calibration_ODE as ode
from knpemidg.membrane import MembraneModel
from collections import namedtuple

Expand Down Expand Up @@ -104,33 +104,33 @@
ax[3].set_title("Na_e")
#ax[4].set_title("Na_i")
plt.tight_layout()
fig.savefig("ode.png")
fig.savefig("results/figures/ode.png")
#plt.show()
plt.close()

fig = plt.figure()
plt.plot(potential_history_n[:, 2])
#plt.ylim([-72, -70])
plt.tight_layout()
fig.savefig("phiM_n.png")
fig.savefig("results/figures/phiM_n.png")

fig = plt.figure()
plt.plot(potential_history_g[:, 2])
#plt.ylim([-72, -70])
plt.tight_layout()
fig.savefig("phiM_g.png")
fig.savefig("results/figures/phiM_g.png")

fig = plt.figure()
plt.plot(K_e_history[:, 2])
#plt.ylim([4, 4.1])
plt.tight_layout()
fig.savefig("K_e.png")
fig.savefig("results/figures/K_e.png")

fig = plt.figure()
plt.plot(Na_e_history[:, 2])
#plt.ylim([99, 100])
plt.tight_layout()
fig.savefig("Na_e.png")
fig.savefig("results/figures/Na_e.png")

# TODO:
# - consider a test where we have dy/dt = A(x)y with y(t=0) = y0
Expand Down

0 comments on commit 562940e

Please sign in to comment.