Changes for page Code description
Last modified by galluzziandrea on 2022/06/20 12:33
From version 4.2
edited by galluzziandrea
on 2021/12/09 14:39
on 2021/12/09 14:39
Change comment:
There is no comment for this version
To version 1.1
edited by galluzziandrea
on 2021/12/09 12:33
on 2021/12/09 12:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,39 +1,30 @@ 1 -== Introduction(pathandmodules)==1 +== H2 Headings Will Appear in Table of Content == 2 2 3 -First of all we check the path and import the necessary modules . 4 4 5 - ===CheckwhereIam andplace myselfinthe right folder:===4 +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 6 6 7 -{{code language="python"}} 8 -# Import the os module 9 -import os 6 +>This is a quote. You can add a quote by selecting some text and clicking the quote button in the editor. 10 10 11 -#Print the current working directory 12 -print("Current working directory: {0}".format(os.getcwd())) 8 +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 13 13 14 -# Change the current working directory 15 -os.chdir('/mnt/user/shared/Slow waves in fading anesthesia/Nest3Python3') 10 +=== H3 Headings Will Appear In The Table of Content === 16 16 17 -# Print the current working directory 18 -print("Current working directory: {0}".format(os.getcwd())) 19 -{{/code}} 12 +==== You can also add images ==== 20 20 21 - ===importhemodules necessary forthesimulation ===14 +[[image:Collaboratory.Apps.Article.Code.ArticleSheet@placeholder.jpg]] 22 22 23 -{{code language="python"}} 24 -import nest 25 -import time 26 -from numpy import exp 27 -import numpy 28 -import math 29 -import random 30 -import multiprocessing 31 -Inizio=time.time() 32 -print('tempo di Inizio:',Inizio) 33 -{{/code}} 16 +Photo by David Clode 34 34 35 -=== === 18 +==== Or code ==== 36 36 37 - ==== Results====20 +Code blocks can be added by using the code macro: 38 38 39 -==== ==== 22 +{{code language="python"}} 23 +x = 1 24 +if x == 1: 25 + # indented four spaces 26 + print("x is 1.") 27 +{{/code}} 28 + 29 +(% class="wikigeneratedid" id="HH4Won27tAppearinToC" %) 30 +
- 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: