Skip to content

albertoarturovergani/CNT-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computational Neuroscience Tutorial 2023

This tutorial has been designed for the following classes:

  • 2022/2023 Master class on Numerical methods for Neuroscience, Physics Degree, University of Pisa, Italy
  • 2022/2023 Master class on Biorobotics and Complex Systems (Prof: Alberto Mazzoni), Physics Degree, University of Pisa, Italy
  • 2022/2023 PhD class on Information Theory and Neural Modeling for Neural Engineering (Prof: Alberto Mazzoni), PhD Program in Biorobotics, Scuola Superiore Sant'Anna, Pisa
  • 2021/2022 Master class on Biorobotics and Complex Systems (Prof: Alberto Mazzoni), Physics Degree, University of Pisa, Italy
  • 2021/2022 PhD class on Information Theory and Neural Modeling for Neural Engineering (Prof: Alberto Mazzoni), PhD Program in Biorobotics, Scuola Superiore Sant'Anna, Pisa
  • 2020/2021 PhD class on Large Scale Network Simulations, NeuroSchool PhD Program, INT, Marseille, France

Introduction on Spiking Neural Networks (SNNs) by using PyNN language

PyNN is a Python library for simulating neural networks. It provides a common interface for a variety of neural simulators, such as NEURON, NEST, and Brian, making it easy to switch between them without having to change the model code. PyNN allows users to define and simulate neural networks using a high-level, neuron-centric interface, similar to the way models are described in neuroscience literature. It is used in many research and education projects to study neural systems, and can be used to simulate models of the brain, as well as artificial neural networks.

General PyNN installation:

PyNN and classic simulators

pip install <the-simulator> e.g. brain2, NEURON
pip install PyNN

PyNN on the SpiNNaker neuromorphic system:

  1. make the EBRAINS credentials to access the SpiNNaker server (https://spinn-20.cs.man.ac.uk/hub/login)
  2. login on the Jupyter Lab interface
  3. clone this repository git clone https://github.com/albertoarturovergani/CNT-2023
  4. Open the directory SpiNNaker/ and run the CNT notebook
  5. Some suggestions: pip install matplotlib==3.2.2

Content:

Overview for the design of Spiking Neural Networks (SNNs)

  1. neurons
    • cell types
    • populations
    • recording variables
  2. connections
    • synapse types
    • connections types
    • projections
  3. simulation managing
    • computational settings
    • save and load outputs
    • visualization tools

Tutorial notebook

Network examples

Knowledge assumptions:

Expected take-home-points:

  • import the simulator
  • setup the simulator
  • decide the cell types
  • design the populations
  • define the synapse types
  • select the connection algorithm
  • make the projections
  • idealize the stimulus
  • run the simulation
  • save the results
  • recover the results
  • postprocessing (visualization, statistics, etc)
  • close the simulations

Links

About

Computational Neuroscience Tutorial 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published