Changes for page 03. Building and simulating a simple model
Last modified by adavison on 2022/10/04 13:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -21,7 +21,8 @@ 21 21 22 22 == Script == 23 23 24 -=== Introduce yourself (if video) === 24 +(% class="wikigeneratedid" id="HIntroduceyourself28ifvideo29" %) 25 +(% class="small" %)**Introduce yourself** 25 25 26 26 Hello, my name is X. 27 27 ... ... @@ -29,30 +29,54 @@ 29 29 30 30 For a list of the other tutorials in this series, you can visit ebrains.eu/service/pynn, that's p-y-n-n. 31 31 32 -=== State the learning objectives (In this tutorial, you will learn to do X…) === 33 +(% class="wikigeneratedid" id="HStatethelearningobjectives28Inthistutorial2CyouwilllearntodoX202629" %) 34 +(% class="small" %)**State the learning objectives** 33 33 34 -In this tutorial, you will learn the basics of PyNN: 36 +In this tutorial, you will learn the basics of PyNN: how to build a simple network of integrate-and-fire neurons using PyNN, how to run simulation experiments with this network using different simulators, and how to visualize the data generated by these experiments. 35 35 36 -=== State prerequisites === 38 +(% class="wikigeneratedid" id="HStateprerequisites" %) 39 +(% class="small" %)**State prerequisites** 37 37 38 -. 41 +To follow this tutorial, you need a basic knowledge of neuroscience (high-school level or greater), basic familiarity with the Python programming language, and you should have already followed our earlier tutorial video which guides you through the installation process. 39 39 40 - ===Description,explanation, andpractice===43 +This video covers PyNN 0.10. If you've installed a more recent version of PyNN, you might want to look for an updated version of this video. 41 41 42 -. 45 +(% class="wikigeneratedid" id="HDescription2Cexplanation2Candpractice" %) 46 +(% class="small" %)**Description, explanation, and practice** 43 43 44 - ===Summary(In thistutorial,youhave learnedto doX…)===48 +PyNN is a tool for building models of nervous systems, and parts of nervous systems, at the level of individual neurons and synapses. 45 45 50 +We'll start off creating a group of 100 neurons, using a really simple model of a neuron, the leaky integrate-and-fire model. 51 + 52 +When we inject positive current into this model, either from an electrode or from an excitatory synapse, it increases the voltage across the cell membrane, until the voltage reaches a certain threshold. 53 + 54 +At that point, the neuron produces an action potential, also called a spike, and the membrane voltage is reset. 55 + 56 +Let's start by writing a docstring, "Simple network model using PyNN". 57 + 58 +For now, we're going to use the NEST simulator to simulate this model, so we import the PyNN-for-NEST module. 59 + 60 +Like with any numerical model, we need to break time down into small steps, so let's set that up with steps of 0.1 milliseconds. 61 + 62 +PyNN comes with a selection of integrate-and-fire models. We're going to use the IF_curr_exp model, where "IF" is for integrate-and-fire, "curr" means that synaptic responses are changes in current, and "exp" means that the shape of the current is a decaying exponential function. 63 + 64 + 65 +(% class="wikigeneratedid" id="HSummary28Inthistutorial2CyouhavelearnedtodoX202629" %) 66 +(% class="small" %)**Summary (In this tutorial, you have learned to do X…)** 67 + 46 46 . 47 47 48 -=== Acknowledgements if appropriate === 70 +(% class="wikigeneratedid" id="HAcknowledgementsifappropriate" %) 71 +(% class="small" %)**Acknowledgements if appropriate** 49 49 50 50 . 51 51 52 -=== References to websites (For more information, visit us at…) === 75 +(% class="wikigeneratedid" id="HReferencestowebsites28Formoreinformation2Cvisitusat202629" %) 76 +(% class="small" %)**References to websites (For more information, visit us at…)** 53 53 54 54 . 55 55 56 -=== Contact information (For questions, contact us at…) === 80 +(% class="wikigeneratedid" id="HContactinformation28Forquestions2Ccontactusat202629" %) 81 +(% class="small" %)**Contact information (For questions, contact us at…)** 57 57 58 58 .