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.
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_plotfor 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_plotwas not always returning the
- Enable direct calls of
brian_plotwith a synaptic variable or an indexed
StateMonitor(to only plot a subset of recorded cells).
- Do not plot
0as a value for non-existing synapses in
- A new function
add_background_patternto add a hatching pattern to the figure background (for colormaps that include the background color).
Testing, suggestions and bug reports:
- Ibrahim Ozturk
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.