| ... |
... |
@@ -13,9 +13,9 @@ |
| 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). |
|
16 |
+**There is also an "//experimental//" kernel** for the notebooks, which is updated around weekly and has the latest improvements (and bugs). |
| 17 |
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: |
|
18 |
+\\**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 |
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 |
21 |
** then use the example notebooks |
| ... |
... |
@@ -54,17 +54,19 @@ |
| 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 experimental version: //git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks-experimental |
| 58 |
|
-for the stable version: git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks// |
|
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// |
| 59 |
59 |
|
| 60 |
60 |
11. [[image:1752049987784-838.png]] |
| 61 |
61 |
\\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. |
| 62 |
|
-To see an overview, open the "tutorial.ipynb" |
|
64 |
+\\To see an overview, open the "tutorial.ipynb" |
| 63 |
63 |
[[image:1752050031198-600.png]] |
| 64 |
64 |
Run the notebooks of your choice... |
| 65 |
65 |
\\\\For **SpiNNaker** example notebooks use the command in the terminal window: |
| 66 |
|
-git clone [[https:~~/~~/github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git>>https://github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git]] |
| 67 |
|
-This creates the SpiNNakerJupyterExamples directory. |
|
68 |
+//git clone [[https:~~/~~/github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git>>https://github.com/SpiNNakerManchester/SpiNNakerJupyterExamples.git]]// |
|
69 |
+\\This creates the SpiNNakerJupyterExamples directory. |
| 68 |
68 |
First run the "Setup" notebook in the directory (choose the "EBRAINS-...." kernel, when asked), select "Run" > "Run all cells" |
| 69 |
69 |
Then your environment is prepared to run the examples (e.g. the 01.RuningPyNNSimulations"). |
| 70 |
70 |
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. |