Posts about Release (old posts, page 2)

Brian 2.0.1

We are happy to announce the release of Brian 2.0.1. This is a bug fix release which does not add any new features but fixes a few important bugs and updates the documentation. Earlier versions of Brian 2 contained bugs that could lead to incorrect recordings from subgroups with PopulationRateMonitor and SpikeMonitor. The issue was only triggered under quite specific circumstances and not for all code generation targets (for more details, see github issues 772 and 777), but could in the worst case lead to the recording of incorrectly high firing rates at certain time steps (for SpikeMonitor, the bug meant that spikes beyond the size of the subgroup were recorded). The new release also fixes a few other issues reported by users, see the release notes for more information. We strongly recommend all users of Brian 2 to update. How to get Brian 2: follow the installation instructions in the documentation Further information about Brian2: http://brian2.readthedocs.org As always, please report bugs or suggestions to the github bug tracker or to the brian-development mailing list (brian-development@googlegroups.com).

Brian 2.0

We are very pleased to announce the release of version 2.0 of the Brian neural network simulator. Brian is a free, open source simulator for spiking neural networks. It is written in the Python programming language and is available on almost all platforms. We believe that a simulator should not only save the time of processors, but also the time of scientists. Brian is therefore designed to be easy to learn and use, highly flexible and easily extensible. You can learn more about Brian from our front page. You can also try out Brian from your web browser, without having to install any software, using our interactive demo.

Major new features in 2.0
  • Much more flexible model definitions. The behaviour of all model elements can now be defined by arbitrary equations specified in standard mathematical notation.
  • Code generation as standard. Behind the scenes, Brian automatically generates and compiles C++ code to simulate your model, making it much faster.
  • Standalone mode”. In this mode, Brian generates a complete C++ project tree that implements your model. This can be then be compiled and run entirely independently of Brian. This leads to both highly efficient code, as well as making it much easier to run simulations on non-standard computational hardware, for example on robotics platforms.
  • Multicompartmental modelling.
  • Python 2 and 3 support.
That’s just a small fraction of the new features in 2.0, take a look at the full list.
Upgrading from Brian 1.4
Brian 2 is a rewrite from scratch, and introduces some backwards incompatible changes. In most cases, these should be relatively simple. We’ve written a detailed guide on how to update your simulations. Note that you can have both Brian 1 and Brian 2 installed simultaneously, so you can switch gradually.
Thanks
Brian 2 was written by Marcel Stimberg, Dan Goodman and Romain Brette. Do please remember to cite Brian if you use it for your research. We would also like to thank the large number of users (over 40) who contributed code, bug reports, etc.

Brian 2.0rc3

We are happy to announce the release of Brian 2.0rc3. This release fixes several bugs, in particular related to long-running simulations (a memory leak and the inability to configure the logging system). It  also improves the random number generation mechanism (same high-quality random numbers in C++ standalone as in runtime mode; new seed function to get reproducible random numbers). See the release notes for more information and other changes. How to get Brian 2: follow the installation instructions in the documentation Further information about Brian2: http://brian2.readthedocs.org As always, please report bugs or suggestions to the github bug tracker or to the brian-development mailing list (brian-development@googlegroups.com).

First release of brian2tools

We are happy to announce the release of brian2tools. The brian2tools package aims to become a collection of useful tools for simulating spiking neural networks with brian2 and for analyzing the results from those simulations. The first 0.1.1 release includes a number of useful functions to plot synaptic connections and variables, multicompartmental morphologies, and the results of simulations (raster plots, rate plots, state variables over time). For more information, have a look at the documentation: brian2tools.readthedocs.io The package can be installed with anaconda or from source, see the installation instructions for details. Testing and feedback welcome: Please contact us at brian-development@googlegroups.com (https://groups.google.com/forum/#!forum/brian-development) if you are interested in contributing. Please report bugs at the github issue tracker or to briansupport@googlegroups.com (https://groups.google.com/forum/#!forum/briansupport).

Brian 2.0 release candidate

We are happy to announce the release of Brian 2.0rc. This is a release candidate for the final Brian 2.0 release, meaning that from now on we will focus on bug fixes and documentation, without introducing new major features or changing the syntax for the user. This release candidate itself does however change a few important syntax elements, see “Backwards-incompatible changes” in the release notes. Apart from many bug fixes and performance improvements, this release adds a few important new features, in particular a “generator syntax” to create synapses more efficiently and a re-worked morphology module for multicompartmental simulations. For a full list of changes see the release notes. How to get Brian 2: follow the installation instructions in the documentation Further information about Brian2: http://brian2.readthedocs.org As always, please report bugs or suggestions to the github bug tracker (https://github.com/brian-team/brian2/issues) or to the brian-development mailing list (brian-development@googlegroups.com).

Brian 2.0 second beta release

We are happy to announce the second beta release of Brian 2.0! This new version contains important bug fixes and improvements, we therefore strongly recommend all users of Brian 2 to upgrade. If you are a user new to Brian, we’d also recommend to directly start with the Brian 2 beta instead of using the stable release of Brian 1.

What’s new?

Several new features have been added:
  • Support for multicompartmental neurons in the C++ standalone mode
  • New features for TimedArray and SpikeGeneratorGroup
  • Automatic selection of a code generation target
  • Tutorials for users starting with Brian
For a full list of changes, see the release notes. How to get Brian 2: follow the installation instructions in the documentation Further information about Brian2: brian2.readthedocs.org This is still a Beta release, please report bugs or suggestions to the github bug tracker (https://github.com/brian-team/brian2/issues) or to the brian-development mailing list (brian-development@googlegroups.com).

Brian 2.0 beta release

We are happy to announce the first beta release of Brian 2.0! This is the first version of Brian 2.0 we recommend for general use. From now on, we will try to keep changes that break existing code to a minimum. If you are a user new to Brian, we’d recommend to start with the Brian 2 beta instead of using the stable release of Brian 1.

What’s new?

Several new features have been added:
  • Support for multicompartmental neurons
  • Cython as a new code generation target (bringing the performance benefits of compiled code to Python 3)
  • Several improvements to the C++ standalone mode, in particular OpenMP support for multithreading (not well tested yet, though, use with caution)
  • Improved system for repeating and continuing simulations and dealing with multiple simulation clocks and timesteps
  • Support for linked variables
For a full list of changes, see the release notes. In addition, a large number of bugs have been fixed, we therefore recommend all users of Brian 2 to upgrade. How to get Brian 2: follow the installation instructions in the documentation Further information about Brian2: brian2.readthedocs.org This is still a Beta release, please report bugs or suggestions to the github bug tracker (https://github.com/brian-team/brian2/issues) or to the brian-development mailing list (brian-development@googlegroups.com).

New alpha version of Brian 2

We are happy to announce another alpha release of Brian2 (version number 2.0a8). A significant amount of internal refactoring work has been done since the previous release and many bugs (in particular related to the new “standalone” mode) have been fixed. The release also adds the following user-visible changes:

  • The definition of variable namespaces is now finalized and follows a consistent approach, see the documentation for details
  • A variable marked as “unless refractory” in the equations is now completely clamped during refractoriness, i.e. it also ignores synaptic input, for example
  • Pre-defined constants (e.g. “e” or “pi”) are now correctly understood in the symbolic analysis of equations
  • Parameters and subexpressions can be declared as “scalar”, meaning that they should be stored/calculated as a single value for a whole group
  • Exact integration can now take place even for equations referring to a TimedArray, if the timestep of the TimedArray is a multiple of the simulation timestep
  • The internal calculation of TimedArray values is now more robust. The new approach entails a change in the semantics of TimedArray when its timestep is bigger than the simulation timestep. For more details see the documentation
  • Performance improvement for the Python-based SpikeQueue

Brian 2 is stabilizing and can already be used for quite a variety of network simulations. We ported a rather complex example from Brian 1 (synapses_barrelcortex.py) that shows a lot of Brian2’s features in use.

As always, please report any comments to the brian-development mailing list or open an issue on the github repository.

How to get Brian2?

Brian2 is available on the python package index, therefore you can install it using easy_install or pip:

easy_install brian2 pip install brian 2 # for older versions of pip pip install --pre brian2 # for newer versions of pip Alternatively, you can directly download the package from the package index and install it yourself using python setup.py install (if you are using Python 2.x, simply running it from the source directory also works).

Finally, you can also clone the git repository at:
https://github.com/brian-team/brian2

Note that the package is called brian2, not brian, therefore it does not interfere with an existing Brian installation and trying out Brian2 will not affect your existing Brian simulations.

Documentation

You can find documentation for Brian2 at readthedocs: http://brian2.readthedocs.org

Note that the user documentation is still quite incomplete, you’ll find a lot of information in the reference documentation, though.

Yet another alpha version of Brian 2.0

We are happy to announce another alpha release of Brian2 (version number 2.0a7). Major changes introduced since the last release:

  • A workaround that makes Brian2 work with the latest version of sympy (0.7.4) which introduced a bug in their differential equation solver.
  • A C++ version of the SpikeQueue, the data structure responsible for the spike transmission. This feature needs a working C++ compiler and will lead to a performance gain.
  • Faster synapse updates in pure numpy/Python for STDP-like rules
  • A more flexible approach for importing the brian2 package that should allow for different programming styles (see the documentation).

Please report any comments/questions you may have to the brian-development mailing list

How to get Brian2?

Brian2 is available on the python package index, therefore you can install it using easy_install or pip:

easy_install brian2 pip install brian 2 # older versions of pip pip install --pre brian2 # newer versions of pip

Alternatively, you can directly download the package from the package index and install it yourself using python setup.py install (if you are using Python 2.x, simply running it from the source directory also works).

Finally, you can also clone the git repository at:
https://github.com/brian-team/brian2

Note that the package is called brian2, not brian, therefore it does not interfere with an existing Brian installation and trying out Brian2 will not affect your existing Brian simulations.

Documentation

You can find documentation for Brian2 at readthedocs: http://brian2.readthedocs.org

Note that the user documentation is still quite incomplete, you’ll find a lot of information in the reference documentation, though.