| ... |
... |
@@ -2,29 +2,27 @@ |
| 2 |
2 |
|
| 3 |
3 |
For a "quick start" without wait time for us to create a Collab for you we have these options: |
| 4 |
4 |
|
| 5 |
|
-=== A //non-persistent// "quick first look" === |
|
5 |
+=== A non-persistent "quick first look" === |
| 6 |
6 |
|
| 7 |
7 |
This method is **non-persistent **= whatever you change in the example notebooks **~*~*will be lost~*~*** when the session expires. |
| 8 |
8 |
|
| 9 |
|
-It is useful for a get-an-impression-fast: |
|
9 |
+It is useful for a get-an-impression-fast: |
| 10 |
10 |
|
| 11 |
|
-* For BrainScaleS: [[Access 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]] |
| 12 |
|
-This automatically clones the 'BrainScaleS example notebooks ([[from github>>https://github.com/electronicvisions/brainscales2-demos.git]]) for the current 'stable release kernel' into a lab session into a //non-persistent// location and opens the **tutorial index notebook**. |
| 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]]. |
|
11 |
+For BrainScaleS: |
|
12 |
+ |
|
13 |
+1. [[Access 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 will start a lab session - if no "Lab session" was yet running for your user you will be asked, which container to start. Please choose the one marked "recommended". |
|
14 |
+1. Access the same URL again (if a lab session was already running for your user you only need to access the URL once) |
|
15 |
+This automatically clones the BrainScaleS example notebooks ([[from github>>https://github.com/electronicvisions/brainscales2-demos.git]]) into the now running lab session into a //non-persistent// location and opens the **tutorial index notebook**. |
|
16 |
+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-experimental]] 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-experimental]]. |
| 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 |
|
-\\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). To use the "//experimental//" version for your tests, please access [[this URL to clone the **"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]]. |
| 17 |
|
-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 |
|
- |
| 19 |
|
-* 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]] |
| 20 |
|
-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. |
| 21 |
|
-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. |
| 22 |
22 |
|
| 23 |
|
-Notes: |
|
19 |
+(% class="wikigeneratedid" %) |
|
20 |
+For SpiNNaker: |
| 24 |
24 |
|
| 25 |
|
-* if a fresh "lab session" is started for your user you will be asked, which container should be started. Please select the one marked "recommended". |
| 26 |
|
-* a "lab session" will be automatically terminated after some hours of inactivity. At that event the notebooks cloned via the access URL above will be deleted = any changes you entered will be lost = great for a quick "first look", but not so great for longer term research ... |
| 27 |
|
-To be able to keep changes, please use the method described below (with an own "Collab") |
|
22 |
+1. [[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]]: this will start a lab session - if no "Lab session" was yet running for your user you will be asked, which container to start. Please choose the one marked "recommended". |
|
23 |
+1. Access the same URL again (if a lab session was already running for your user you only need to access the URL once) |
|
24 |
+This automatically clones an example notebook for running a "synfire chain" on SpiNNaker ([[from github>>https://github.com/SpiNNakerManchester]]) into the now running lab session into a //non-persistent// location and open it. |
|
25 |
+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. |
| 28 |
28 |
|
| 29 |
29 |
=== Getting the example notebooks into an own Collab === |
| 30 |
30 |
|
| ... |
... |
@@ -33,13 +33,11 @@ |
| 33 |
33 |
1. create a new Collab for yourself: |
| 34 |
34 |
11. go to [[https:~~/~~/wiki.ebrains.eu/>>https://wiki.ebrains.eu/]] and click the "Log-in" link in the upper right hand corner, log in with your new EBRAINS account |
| 35 |
35 |
11. Click the "Collabs" link in the menu bar at the top of the window |
| 36 |
|
-11. Click the "Create a collab" green button and create a private Collab for yourself. The process re-directs you into your own, new Collab. |
| 37 |
|
- |
|
34 |
+11. Click the "Create a collab" green button and create a private Collab for yourself. The process re-directs you into the new Collab. |
| 38 |
38 |
1. In your new Collab open the Lab and clone the files you want to work with: |
| 39 |
39 |
11. Click the "Lab" link in the left hand menu |
| 40 |
40 |
[[image:1752049786563-126.png]] |
| 41 |
|
-11. Select any of the "Lab Execution Site" offered, (e.g. Jülich) |
| 42 |
|
-[[image:1752049824848-523.png]] |
|
38 |
+11. Select any of the "Lab Execution Site" offered, [[image:1752049824848-523.png]] |
| 43 |
43 |
then select the "Official EBRAINS Docker image", click start. (Click "Launch Server", if you get a "Server not running" page) |
| 44 |
44 |
This will start a Jupyter Lab session (the "Lab") for you. |
| 45 |
45 |
|
| ... |
... |
@@ -49,10 +49,8 @@ |
| 49 |
49 |
|
| 50 |
50 |
11. then fetch the files you would like to work with. |
| 51 |
51 |
\\For the **BrainScaleS-2 interactive notebooks** use the command in the terminal window: |
| 52 |
|
-for the experimental version: //git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks-experimental |
| 53 |
|
-for the stable version: git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks// |
| 54 |
|
- |
| 55 |
|
-11. [[image:1752049987784-838.png]] |
|
48 |
+//git clone https:~/~/github.com/electronicvisions/brainscales2-demos.git ~-~-branch jupyter-notebooks-experimental// |
|
49 |
+[[image:1752049987784-838.png]] |
| 56 |
56 |
\\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. |
| 57 |
57 |
To see an overview, open the "tutorial.ipynb" |
| 58 |
58 |
[[image:1752050031198-600.png]] |