File: run_simulation_plot_input_output.rst

package info (click to toggle)
neuron 8.2.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,760 kB
  • sloc: cpp: 149,571; python: 58,465; ansic: 50,329; sh: 3,510; xml: 213; pascal: 51; makefile: 35; sed: 5
file content (35 lines) | stat: -rw-r--r-- 1,134 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.. _run_simulation_plot_input_output:

Run a simulation and plot the input and output spike trains
========

At this point, the Network Builder contains a complete specification of our model network. However, it doesn't actually create the network until you switch the Create button ON.

.. image::
    fig/create.gif
    :align: center

Switching Create ON makes the representation of the network available for NEURON's computational engine to use in a simulation.

Now click on the Network Builder's SpikePlot button to bring up a graph that will show the input and output spike trains.

.. image::
    fig/spikeplot_1.gif
    :align: center

Next bring up a RunControl and set Tstop to 200 ms. Click on Init & Run and see what happens.

Then bring up a VariableTimeStep control, turn on Local variable dt, and run another simulation.

This figure shows the results after Color/Brush was used to specify thick red and black lines for S0 and C1, respectively.

.. image::
    fig/donex.gif
    :align: center

The speedup with Local variable dt ON reflects the difference between continuous time and discrete event simulations.