| 1 |
Brian 2 documentation |
| 2 |
===================== |
| 3 |
|
| 4 |
Brian is a simulator for spiking neural networks. It is written in the Python |
| 5 |
programming language and is available on almost all platforms. We believe |
| 6 |
that a simulator should not only save the time of processors, but also the |
| 7 |
time of scientists. Brian is therefore designed to be easy to learn and use, |
| 8 |
highly flexible and easily extensible. |
| 9 |
|
| 10 |
To get an idea of what writing a simulation in Brian looks like, take a look |
| 11 |
at :doc:`a simple example </examples/CUBA>`, or run our |
| 12 |
`interactive demo <http://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=demo.ipynb>`_. |
| 13 |
|
| 14 |
.. only:: html |
| 15 |
|
| 16 |
You can actually edit and run the examples in the browser without having to |
| 17 |
install Brian, using the Binder service (note: sometimes this service is down |
| 18 |
or running slowly): |
| 19 |
|
| 20 |
.. image:: http://mybinder.org/badge.svg |
| 21 |
:target: http://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=demo.ipynb |
| 22 |
|
| 23 |
Once you have a feel for what is involved in using Brian, we recommend you |
| 24 |
start by following the |
| 25 |
:doc:`installation instructions </introduction/install>`, and in case you are |
| 26 |
new to the Python programming language, having a look at |
| 27 |
:doc:`introduction/scripts`. Then, go through the |
| 28 |
:doc:`tutorials </resources/tutorials/index>`, and finally |
| 29 |
read the :doc:`User Guide </user/index>`. |
| 30 |
|
| 31 |
While reading the documentation, you will see the names of certain functions |
| 32 |
and classes are highlighted links (e.g. `PoissonGroup`). Clicking on these |
| 33 |
will take you to the "reference documentation". This section is automatically |
| 34 |
generated from the code, and includes complete and very detailed information, |
| 35 |
so for new users we recommend sticking to the :doc:`../user/index`. However, |
| 36 |
there is one feature that may be useful for all users. If you click on, |
| 37 |
for example, `PoissonGroup`, and scroll down to the bottom, you'll get a |
| 38 |
list of all the example code that uses `PoissonGroup`. This is available |
| 39 |
for each class or method, and can be helpful in understanding how a |
| 40 |
feature works. |
| 41 |
|
| 42 |
Finally, if you're having problems, please do let us know at our |
| 43 |
:doc:`support page </introduction/support>`. |
| 44 |
|
| 45 |
Please note that all interactions (e.g. via the mailing list or on github) should adhere |
| 46 |
to our :doc:`Code of Conduct <introduction/code_of_conduct>`. |
| 47 |
|
| 48 |
.. toctree:: |
| 49 |
:maxdepth: 2 |
| 50 |
:caption: Documentation |
| 51 |
:titlesonly: |
| 52 |
|
| 53 |
introduction/index |
| 54 |
user/index |
| 55 |
advanced/index |
| 56 |
|
| 57 |
.. toctree:: |
| 58 |
:maxdepth: 1 |
| 59 |
:titlesonly: |
| 60 |
|
| 61 |
Reference documentation <reference/brian2> |
| 62 |
developer/index |
| 63 |
|
| 64 |
.. toctree:: |
| 65 |
:maxdepth: 1 |
| 66 |
:caption: Examples and tutorials |
| 67 |
:titlesonly: |
| 68 |
|
| 69 |
examples/index |
| 70 |
resources/tutorials/index |
| 71 |
|
| 72 |
|
| 73 |
.. toctree:: |
| 74 |
:maxdepth: 1 |
| 75 |
:caption: External links |
| 76 |
:titlesonly: |
| 77 |
|
| 78 |
Source code repository <https://www.github.com/brian-team/brian2> |
| 79 |
PyPI package <https://pypi.org/project/Brian2> |
| 80 |
|
| 81 |
Indices and tables |
| 82 |
================== |
| 83 |
|
| 84 |
* :ref:`genindex` |
| 85 |
* :ref:`modindex` |
| 86 |
* :ref:`search` |