Wiki source code of Simulate with EBRAINS Workshop, Nov 2022
Last modified by adavison on 2022/11/09 12:54
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="row" %) | ||
2 | ((( | ||
3 | (% class="col-xs-12 col-sm-8" %) | ||
4 | ((( | ||
5 | = Welcome = | ||
6 | |||
7 | This wiki page is for participants in the "Simulate with EBRAINS" online workshop, 7-10 November 2022, who are taking part in the hands-on session "Using the PyNN library to build and simulate models on EBRAINS". | ||
8 | |||
9 | In this hands-on session we will work together through a Jupyter notebook which demonstrates the basics of working with PyNN. | ||
10 | |||
11 | This first page contains instructions for getting started with the hands-on session, and a list of resources for getting help and finding further documentation and tutorials. | ||
12 | |||
13 | = Resources = | ||
14 | |||
15 | * [[Rocket chat channel>>https://chat.ebrains.eu/channel/PyNN||rel="noopener noreferrer" target="_blank"]] for asking questions during or after the session | ||
16 | * [[PyNN documentation>>http://neuralensemble.org/docs/PyNN/||rel="noopener noreferrer" target="_blank"]] | ||
17 | * PyNN tutorials on YouTube | ||
18 | ** [[Installing PyNN on a Linux system>>https://www.youtube.com/watch?v=BZB7xKUK8Vc||rel="noopener noreferrer" target="_blank"]] | ||
19 | ** [[Building and simulating a simple model using PyNN>>https://www.youtube.com/watch?v=zBLNfJiEvRc||rel="noopener noreferrer" target="_blank"]] | ||
20 | * [[Collaboratory documentation>>https://wiki.ebrains.eu/bin/view/Collabs/the-collaboratory/||rel="noopener noreferrer" target="_blank"]] | ||
21 | |||
22 | = Instructions = | ||
23 | |||
24 | 1. So you can save any changes you might make to the notebook, it is best to work in your own collab workspace. If you already have a collab you want to use, open it in a new tab. If not, create a new one by clicking [[here>>https://wiki.ebrains.eu/bin/view/Collabs?clbaction=create||rel="noopener noreferrer" target="_blank"]] or clicking on "Collabs" in the top menu then "Create a collab". | ||
25 | 1. After creating a Collab, you need to initialise the Drive (file storage), by clicking on the Drive link in the left-hand column. | ||
26 | 1. Copy the Jupyter notebook to your own collab | ||
27 | 11. (option A) click [[here>>https://collab-file-cloner.netlify.app/#source_file=https://drive.ebrains.eu/f/cc1d63667c514435b26f//&file_overwrite=true&auto_run=true&open_lab=true||rel="noopener noreferrer" target="_blank"]], select "yes" in the "Grant Access to Collab File Cloner" dialog, select the target collab in the drop-down list, then click "Continue" followed by "Clone File". | ||
28 | 11. (option B) in this collab, click on "Drive", then "HandsOn" then "SimulateWithEBRAINS_Nov2022". Next to "PyNN_tutorial.ipynb" click on the "more options" button, then "Copy". In "Other Libraries" select your own collab then click "Submit". | ||
29 | 1. In your own collab, click on Lab, then select either "Fenix CH" or "Fenix DE". | ||
30 | 1. On the "Server Options" page, select "Official EBRAINS Docker image 22.03 for Collaboratory.Lab" then click "Start". | ||
31 | 1. In the left-hand file chooser, wait until the file listing appears (may take a few tens of seconds), then double-click on "PyNN_tutorial.ipynb". | ||
32 | 1. We will work through the notebook together, discussing each cell as we execute it. If you're not familiar with Jupyter notebooks, note that you can run a cell either by clicking the "play" icon or by typing "<shift>-<return>" | ||
33 | ))) | ||
34 | |||
35 | |||
36 | (% class="col-xs-12 col-sm-4" %) | ||
37 | ((( | ||
38 | {{box title="**Contents**"}} | ||
39 | {{toc/}} | ||
40 | {{/box}} | ||
41 | |||
42 | |||
43 | ))) | ||
44 | ))) |