Wiki source code of Code description
Version 2.2 by galluzziandrea on 2021/12/09 12:35
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
2.1 | 1 | == Code Description == |
| |
1.1 | 2 | |
| 3 | |||
| 4 | |||
| |
2.2 | 5 | {{code language="python"}} |
| 6 | x = 1 | ||
| 7 | if x == 1: | ||
| 8 | # indented four spaces | ||
| 9 | print("x is 1.") | ||
| 10 | {{/code}} | ||
| |
1.1 | 11 | |
| |
2.2 | 12 | (% class="wikigeneratedid" %) |
| 13 | === === | ||
| |
1.1 | 14 | |
| 15 | {{code language="python"}} | ||
| 16 | x = 1 | ||
| 17 | if x == 1: | ||
| 18 | # indented four spaces | ||
| 19 | print("x is 1.") | ||
| 20 | {{/code}} | ||
| 21 | |||
| |
2.2 | 22 | (% class="wikigeneratedid" %) |
| 23 | === === | ||
| 24 | |||
| 25 | === Results === | ||
| 26 | |||
| 27 | ==== ==== |
- Introduction (path and modules):
- Check where I am and place myself in the right folder:
- Import the modules necessary for the simulation:
- Define necessary classes to import the Initialization Files:
- Import the initialization files:
- Defining general and nest.kernel parameters
- Building the network: neuronal populations , Poisson processes and spike detectors
- Connecting the network nodes: neuronal populations, Poisson processes and spike detectors
- Simulating: neuronal time evolution.
- Results: