For the complete documentation index, see llms.txt. This page is also available as Markdown.

Model Simulation

Similar to the single SAC example you can simulate, trace the voltage at the soma and plot it:

simulation.simulate()
results = simulation.trace_voltages_at_soma()

import matplotlib.pyplot as plt
fig = plt.figure(figsize=(8,5))
for i in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]:
    plt.plot(results[0]['0'][i]['t'], results[0]['0'][i]['v'], ls='-', c='r', label='Expanding stimulus',linewidth=3)
plt.show()

Note that here voltages are traced in all 13 cells:

You can use the code below to generate the following synapse activity video, visualized over the SAC plexus:

Note that the following code is not a native RSME code and that it might require the installation of video codecs in accordance with your operating system.

Last updated

Was this helpful?