Skip to content

Instantly share code, notes, and snippets.

@caglorithm
Last active June 26, 2022 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caglorithm/71c85e2891d1505735963aa2909488b1 to your computer and use it in GitHub Desktop.
Save caglorithm/71c85e2891d1505735963aa2909488b1 to your computer and use it in GitHub Desktop.

neurolib tutorial

A tutorial for neurolib will be held at the CNS*2022 satellite tutorials.

This tutorial is intended researchers interested in learning how to use neurolib for simulating, exploring, and optimizing neural mass models and whole-brain networks.

Registration

Registration for the satellite tutorials is free, but required. Register here 👈.

Time and date

Date: Monday, 27.06.2022

Start: 13:30 UTC (15:30 CET) End: 15:30 UTC (17:30 CET)

Zoom

Link: to be announced per email invitation after registration

Running neurolib

To participate in this tutorial, you need to install neurolib on your machine (recommended) or use either Google Colab or Binder to run the tutorial Notebooks in your web browser (see below).

Option 1 - Running the neurolib tutorial on your own machine

We recommend installing neurolib on your own computer and running the tutorial notebooks on your local machine. Please refer to the GitHub repository on how to clone the repo and install neurolib.

The notebooks for the tutorial are in a separate git branch called cns_tutorial to change to this branch, first cd into the repository that you have cloned.

git clone https://github.com/neurolib-dev/neurolib.git
cd neurolib/
pip install -r requirements.txt

# change to the tutorial branch
git checkout cns_tutorial

You will now find the tutorial notebooks in the examples directory. They are called Tutorial-1.ipynb et cetera.

📝 Note: If you can't run neurolib on your own computer, you can run the notebooks in your browser using the links below.

Option 2 - Binder notebooks

You can find all notebooks on Binder. Go to the examples directory and open the notebooks with the name Tutorial - N.ipynb as listed below.

📝 Note: You Binder session is limited in RAM (2 GB). After you completely go through a notebook, make sure to shutdown its kernel so you have more free RAM for opening the next notebook. You can do this in the menu bar by pressing "Kernel" and "Shutdown kernel".

Option 3 - Google Colab notebooks

These are the notebooks we will be going through in this tutorial.

📝 Note: You need a Google account to run these notebooks. If you don't have one, use the Binder link above. Some cells of the nobooks are hidden in Colab by default. To easily expand all cells when you open the notebook, go to the menu bar and press "Edit" and "Select all cells", then "View" and "Expand selection".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment