| ... |
... |
@@ -13,14 +13,13 @@ |
| 13 |
13 |
You can also directly jump to 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]] or the [[learning with superspike 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_01-superspike.ipynb&branch=jupyter-notebooks]]. |
| 14 |
14 |
To run the notebook cells use the "Run" menu item. To execute all cells of the notebook use the "Run > Run all" menu item in the Jupyter window. |
| 15 |
15 |
\\Additional info: the link above clones the '//stable// version code' (for the current 'stable kernel' version). The "//stable//" version is a software set, which is updated around twice per year, so it does not have all the newest features - and not all the latest bugs. |
| 16 |
|
-**There is also an "//experimental//" kernel** for the notebooks, which is updated around weekly and has the latest improvements (and bugs). |
| 17 |
|
-Please note: "stable" and "experimental" do not mix, as the code is different. You can restart your Jupyter session ([[how to do it>>doc:.Lab restart.WebHome]]) to get rid of the cloned files if you would like to switch the branch from stable to experimental (or vice versa) or if you just want to start fresh again. |
| 18 |
|
-\\**To use the "//experimental//" version** for your tests, please: |
|
16 |
+There is also an "//experimental//" kernel for the notebooks, which is updated around weekly and has the latest improvements (and bugs). To use the "//experimental//" version for your tests, please: |
| 19 |
19 |
** use this [[URL to fetch a deploy script>>https://lab.jsc.ebrains.eu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Felectronicvisions%2Fbrainscales2-demos.git&branch=jupyter-notebooks-dispatcher&urlpath=lab%2Ftree%2Fbrainscales2-demos.git%2Fexperimental_dispatcher.ipynb]] |
| 20 |
|
-** and execute the code cell in it. It determines the version of the running "experimental" Kernel and then clones the example notebooks for BrainScaleS matching that specific kernel version |
| 21 |
|
-** then use the example notebooks |
| 22 |
|
-\\(This method should always work, while [[directly cloning the latest "experimental" version>>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]] can fail, depending on the kernel deploy state in the EBRAINS Lab) |
| 23 |
|
-\\\\ |
|
18 |
+** and execute the code cell in it. It determines the version of the running "experimental" Kernel and then clones the example notebooks for BrainScaleS matching that specific kernel verion |
|
19 |
+** then use the example noteboks |
|
20 |
+This should always work, while [[directly cloning the latest "experimental" version>>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]] can fail, depending on the kernel deploy state) |
|
21 |
+\\Please note: "stable" and "experimental" do not mix, as the code is different. You can restart your Jupyter session ([[how to do it>>doc:.Lab restart.WebHome]]) to get rid of the cloned files if you would like to switch the branch from stable to experimental (or vice versa) or if you just want to start fresh again. |
|
22 |
+ |
| 24 |
24 |
* For SpiNNaker: [[Access this URL>>https://lab.jsc.ebrains.eu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2FSpiNNakerManchester%2FSpiNNakerJupyterExamples.git&urlpath=lab%2Ftree%2FSpiNNakerJupyterExamples.git%2FSpiNNaker_Collab_synfire.ipynb&branch=main]] |
| 25 |
25 |
This automatically clones an example notebook for running a "synfire chain" on SpiNNaker ([[from github>>https://github.com/SpiNNakerManchester]]) into a lab session into a //non-persistent// location and opens it. |
| 26 |
26 |
To run the notebook cells use the "Run" menu item. To execute all cells of the notebook use the "Run > Run all" menu item in the Jupyter window. |
| ... |
... |
@@ -54,19 +54,17 @@ |
| 54 |
54 |
|
| 55 |
55 |
11. then fetch the files you would like to work with. |
| 56 |
56 |
\\For the **BrainScaleS-2 interactive notebooks** use the command in the terminal window: |
| 57 |
|
-\\for the stable version (i.e. for use with the EBRAINS-xxxx Juypter kernel): |
| 58 |
|
-//git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks // |
| 59 |
|
-\\It is also possible to clone the latest ("experimental") version for use the the "Experimental" Jupyter kernel: |
| 60 |
|
-//git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks-experimental// |
|
56 |
+for the experimental version: //git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks-experimental |
|
57 |
+for the stable version: git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks// |
| 61 |
61 |
|
| 62 |
62 |
11. [[image:1752049987784-838.png]] |
| 63 |
63 |
\\The command clones the BrainScaleS interactive notebooks into a directory "brainscales2-demos". This directory appears then in the files list on the left hand side of the window. Double click it to enter the freshly cloned directory with tutorial notebooks. |
| 64 |
|
-\\To see an overview, open the "tutorial.ipynb" |
|
61 |
+To see an overview, open the "tutorial.ipynb" |
| 65 |
65 |
[[image:1752050031198-600.png]] |
| 66 |
66 |
Run the notebooks of your choice... |
| 67 |
67 |
\\\\For **SpiNNaker** example notebooks use the command in the terminal window: |
| 68 |
|
-//git clone [[https:~~/~~/github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git>>https://github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git]]// |
| 69 |
|
-\\This creates the SpiNNakerJupyterExamples directory. |
|
65 |
+git clone [[https:~~/~~/github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git>>https://github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git]] |
|
66 |
+This creates the SpiNNakerJupyterExamples directory. |
| 70 |
70 |
First run the "Setup" notebook in the directory (choose the "EBRAINS-...." kernel, when asked), select "Run" > "Run all cells" |
| 71 |
71 |
Then your environment is prepared to run the examples (e.g. the 01.RuningPyNNSimulations"). |
| 72 |
72 |
Note: As Kernel (right hand corner of the title line of the notebook), please use the "EBRAINS-...." kernel, not the default iPython Kernel. Some modules will not be found with the default kernel. |