Release notes

brian2tools 0.2.1.1

A maintenance release that adds conda packages for Python 3.6. Also fixes a small bug in morphology plotting.

brian2tools 0.2.1

This release adds initial support to export Brian 2 simulations to the NeuroML2 and LEMS format. This feature has been added by Dominik Krzemiński (@dokato) as part of the Google Summer of Code 2016 under the umbrella of the INCF organization. It currently allows to export neuronal models (with threshold, reset and refractory definition), but not synaptic models or multi-compartmental neurons. See the NeuroML exporter documentation for details.

Contributions

We also thank Padraig Gleeson (@pgleeson) for help and guidance concerning NeuroML2 and LEMS.

brian2tools 0.1.2

This is mostly a bug-fix release but also adds a few new features and improvements around the plotting of synapses (see below).

Improvements and bug fixes

  • Synaptic plots of the “image” type with plot_synapses (also the default for brian_plot for synapses between small numbers of neurons) where plotting a transposed version of the correct connection matrix that was in addition potentially cut off and therefore not showing all connections (#6).
  • Fix that brian_plot was not always returning the Axes object.
  • Enable direct calls of brian_plot with a synaptic variable or an indexed StateMonitor (to only plot a subset of recorded cells).
  • Do not plot 0 as a value for non-existing synapses in image and hexbin-style plots.
  • A new function add_background_pattern to add a hatching pattern to the figure background (for colormaps that include the background color).

Testing, suggestions and bug reports:

  • Ibrahim Ozturk

brian2tools 0.1

This is the first release of the brian2tools package (a collection of optional tools for the Brian 2 simulator), providing several plotting functions to plot model properties (such as synapses or morphologies) and simulation results (such as raster plots or voltage traces). It also introduces a convenience function brian_plot which takes a Brian 2 object as an argument and produces a plot based on it. See Plotting tools for details.

Contributions

The code in this first release has been written by Marcel Stimberg (@mstimberg).