Model Simulation
simulation.simulate()results = simulation.trace_voltages_at_soma()import matplotlib.pyplot as plt
fig = plt.figure(figsize=(8,5))
plt.plot(results[0]['0'][1]['t'], results[0]['0'][1]['v'], ls='-', c='r', label='Expanding stimulus',linewidth=3)
plt.legend()
plt.show()


Last updated