1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
.. currentmodule:: brian
.. _tutorial1_basic_concepts:
Tutorial 1: Basic Concepts
--------------------------
In this tutorial, we introduce some of the basic concepts of a Brian simulation:
* Importing the Brian module into Python
* Using quantities with units
* Defining a neuron model by its differential equation
* Creating a group of neurons
* Running a network
* Looking at the output of the network
* Modifying the state variables of the network directly
* Defining the network structure by connecting neurons
* Doing a raster plot of the output
* Plotting the membrane potential of an individual neuron
The following Brian classes will be introduced:
* :class:`NeuronGroup`
* :class:`Connection`
* :class:`SpikeMonitor`
* :class:`StateMonitor`
We will build a Brian program that defines a randomly connected network of integrate
and fire neurons and plot its output.
This tutorial assumes you know:
* The very basics of Python, the ``import`` keyword, variables, basic
arithmetical expressions, calling functions, lists
* The simplest leaky integrate and fire neuron model
The best place to start learning Python is the official tutorial:
http://docs.python.org/tut/
**Tutorial contents**
.. toctree::
:maxdepth: 2
tutorial_1a_the_simplest_brian_program
tutorial_1b_counting_spikes
tutorial_1c_making_some_activity
tutorial_1d_introducing_randomness
tutorial_1e_connecting_neurons
tutorial_1f_recording_spikes
tutorial_1g_recording_membrane_potentials
|