Wiki source code of Teaching

Last modified by kindler on 2026/01/27 10:04

Show last authors
1 == BrainScaleS as tool-for-teaching ==
2
3 Both neuromorphic compte systems, SpiNNaker and BrainScaleS, can be used as "tools for teaching" and both systems are accessible also with guest accounts.
4
5 === BrainScaleS for teaching ===
6
7 The BrainScaleS analog neuromorphic computing hardware systems are operated by the Neuromorphic Computing Architectures, Electronic visions group at the EINC at Heidelberg University in Germany. These hardware systems can be used via Jupyter notebooks (python code) running on the EBRAINS research infrastructure (free of charge for teaching and testing). This access only requires a browser (firefox, chrome, safari, ...), an internet connection and an EBRAINS account (or EBRAINS guest account). Use of the systems in university courses or also secondary school education is explicitly encouraged. Tutorial notebooks with different difficulty levels are available.
8
9 * These tutorial notebooks can be viewed publicly (no account needed) [[here on github>>https://github.com/electronicvisions/brainscales2-demos]] (to get an idea, how they look like see e.g. the [[single-neuron introduction notebook>>https://github.com/electronicvisions/brainscales2-demos/blob/jupyter-notebooks/ts_00-single_neuron.ipynb]] or the [[learning with superspike notebook>>https://github.com/electronicvisions/brainscales2-demos/blob/jupyter-notebooks/common_task_superspike.ipynb]]). This is only a static view of the code.
10 * With an account the real systems can be used to interactively execute the provided tutorials notebooks and also own experiments:
11 ** To access a non-persistent, fresh clone of the notebooks [[use this URL>>https://lab.jsc.ebrains.eu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Felectronicvisions%2Fbrainscales2-demos.git&urlpath=lab%2Ftree%2Fbrainscales2-demos.git%2Ftutorial.ipynb&branch=jupyter-notebooks-experimental]].  This starts a Jupyter notebook session on the EBRAINS research infrastructure, clones the [[current tutorials from github>>https://github.com/electronicvisions/brainscales2-demos]] and opens the index page. The notebooks linked there make use of the real BrainScaleS neuromorphic hardware systems running at the EINC in Heidelberg, Germany. 
12 (non-persistent = changes to the notebooks can be made, but they are only stored while the session is running and are gone, when the sessions ends (session timeout is several hours)
13 ** It is of course also possible to have a place to make persistent changes to the notebooks by creating an own "Collab" in the EBRAINS wiki and cloning the notebooks into that persistent storage. See [["Getting the example notebooks into an own Collab">>doc:Collabs.neuromorphic.Getting access.QuickTry.WebHome||anchor="HGettingtheexamplenotebooksintoanownCollab"]] on the quick try page.
14
15 You can create an account free of charge at [[https:~~/~~/ebrains.eu/register>>url:https://ebrains.eu/register]] (account holders must be of legal age). If your work email domain is on the allowlist, account creation takes only a few minutes.
16
17 If the course is intended to be executed by under-aged people, e.g. school kids, we can create "guest accounts", which do not have a minimum-age requirement. These accounts are valid for up to one month (extendable) and can access only parts of the EBRAINS research infrastructure services. BrainScaleS and SpiNNaker systems can be accessed with guest accounts. Please contact the EBRAINS education team, if you need guest accounts for your course plans.
18
19 With the one-click access method to notebooks each student of the course can start her/his instance of a Jupyter session, get clone of the tutorial notebooks and can run and change the notebooks via the EBRAINS RI with real hardware access. (See above for info on the non-persistent and persistent options for changes in the notebooks). Access URLs can [[go to the index page>>https://lab.jsc.ebrains.eu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Felectronicvisions%2Fbrainscales2-demos.git&urlpath=lab%2Ftree%2Fbrainscales2-demos.git%2Ftutorial.ipynb&branch=jupyter-notebooks-experimental]] or directly start a specific notebook, [[e.g. the single neuron notebook>>https://lab.jsc.ebrains.eu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Felectronicvisions%2Fbrainscales2-demos.git&urlpath=lab%2Ftree%2Fbrainscales2-demos.git%2Fts_00-single_neuron.ipynb&branch=jupyter-notebooks-experimental]].
20
21 Tutors can of course create their own set of notebooks by cloning the git repository, changing the clone and then creating a one-click-access-URL to start from that own repository. This can be e.g. done to create notebooks, which contain questions / exercises, but not the answers. Or add notebooks for special topics. (We would be glad to hear about such additional notebooks or any suggestions for improving the existing tutorial notebooks, easiest via the EBRAINS support system by emailing to [[support@ebrains.eu>>mailto:support@ebrains.eu]] or via a chat message in the [[https:~~/~~/chat.ebrains.eu/channel/brainscales>>https://chat.ebrains.eu/channel/brainscales]] chat channel) .
22
23
24 === Lu.i analog neurons for teaching ===
25
26 Please see the [[Analog Electronic Neuron Demonstrator lu.i page>>https://wiki.ebrains.eu/bin/view/Collabs/neuromorphic/BrainScaleS/Neuron%20demonstrator/]] for details about the analog hardware neurons.