Posts about Teaching

CNS 2022 satellite tutorial on Brian (June 30th)

On June 30th, 2022, we will have a Brian tutorial, as part of a series of free satellite tutorials organized by the INCF/OCNS Software Working Group two weeks before CNS*2022. You can find more information about the tutorials here: ocns.github.io/SoftwareWG/pages/software-wg-satellite-tutorials-at-cns-2022.html

Please register here if you have not done so yet. Registration is free but mandatory. You have to be registered to get access to the Zoom link.

Schedule (Thursday, June 30th 2022)

The preliminary schedule of the tutorial is as follows (times are in UTC, but by clicking on them you get the times in your time zone):

10:30 – 12:00 (UTC): Part 1, Introduction to Brian

An introduction for users that have little experience with Brian, roughly following the material in the Brian tutorials.

12:00 – 12:45 (UTC): Part 2, The Brian ecosystem

An overview of existing packages that make Brian more convenient to use and more powerful. In particular:

12:45 – 13:30 (UTC): Part 3, Best practice and performance

A number of practical tips and demonstrations, showing how to structure code for readability and performance.

Platform

The tutorial will take place on the Open Source Brian v2 (OSBv2) platform, allowing everyone to participate without the need for a local installation of Brian.

Live session on Brian development

Marcel Stimberg will talk about Brian’s development process in a live developer session on Thursday, Feb 11 2021, 17:00 UTC (check local time). For more information and the link to the Zoom session see the announcement.

This talk is part of a series of sessions organized by the newly formed Software Working Group under the umbrella of the INCF and OCNS.

Update: The video for the recorded sessions is now on Youtube:

In order to use the media directive, you must install the “micawber” Python package.

Brian online tutorial

We will experiment with running a Brian tutorial online. The first tutorial of this kind will take place on Friday, August 7th 2020 from 2pm-6pm BST (UTC+1, see here for other timezones). Free (but mandatory) registration here. We will run the tutorial as a Zoom meeting – registering with the link will give you the URL (please don’t share so we can avoid zoombombing). We will record the meeting and if everything goes reasonably well, we will upload the videos later.

Update: The recorded video is now on Youtube:

In order to use the media directive, you must install the “micawber” Python package.

If you participate, it would be really helpful if you could download and install Brian before the tutorial so that you can work along with it as we go. Instructions are:

  1. Download and install the Anaconda Python 3 distribution
  2. Open a command prompt and run the following lines:
  3. You can now verify this is working by starting a Jupyter notebook server with:
  4. Your browser should open with the Jupyter notebooks interface. Now create a new notebook and put the following code in an empty cell:
    from brian2 import *
  5. Run that cell by pressing Ctrl+Enter. If that works without any errors (you might see a warning) then you’re good to go.
  6. If that doesn’t work or you want to use a different system than Anaconda, take a look at our detailed installation instructions.

If you have trouble installing, don’t worry. You can use the Brian installation on Binder or Google Colab instead.

For Colab, just make the first cell as follows:

!pip install brian2
!pip install brian2tools

Looking forward to seeing you all on Friday!