👁️
Retinal Stimulation Modeling Environment
  • Retinal Stimulation Modeling Environment (RSME)
  • Preliminaries
    • Python
    • NEURON
    • Systems Biology Markup Language
    • RSME and Model initialization
  • Model specification
    • Meta-parameters
    • Morphology Description
    • Network Description
    • Visual Stimulation
    • Biophysical Description
  • Visual Stimulation
  • Single SAC model
    • Model Initialization
    • Model Visualization
    • Model Simulation
  • SAC plexus model
    • Before we begin
    • Model Initialization and Visualization
    • Model Simulation
  • SAC-DSGC network
    • Model initialization and visualization
    • Model Simulation
  • Logger
Powered by GitBook
On this page

Was this helpful?

  1. SAC-DSGC network

Model Simulation

PreviousModel initialization and visualizationNextLogger

Last updated 3 years ago

Was this helpful?

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
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()

Note that here we are showing the soma voltage of the DSGC:

In this experiment, we used a moving bar stimulus. We can verify in using:

simulation.visualize_results()

The generated voltage traces are:

And the stimulus: