Model Simulation
simulation.simulate()
results = simulation.trace_voltages_at_soma()
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 14})
fig = plt.figure(figsize=(7,5))
plt.plot(results[0]['1'][1]['t'], results[0]['1'][1]['v'], ls='-', c='r', label='Exp', linewidth=4)
plt.ylim([-75, -40])
plt.show()


Last updated