brian2 package

Brian 2.0

numpy_ module

A dummy package to allow importing numpy and the unit-aware replacements of numpy functions without having to know which functions are overwritten.

This can be used for example as import brian2.numpy_ as np

Exported members: add_newdocs, ModuleDeprecationWarning, __version__, pkgload(), PackageLoader, show_config(), char, rec, memmap, newaxis, ndarray, flatiter, nditer, nested_iters, ufunc, arange, array, zeros, count_nonzero, empty, broadcast, dtype, fromstring, fromfile, frombuffer ... (590 more members)

only module

A dummy package to allow wildcard import from brian2 without also importing the pylab (numpy + matplotlib) namespace.

Usage: from brian2.only import *

Functions

restore_initial_state() Restores internal Brian variables to the state they are in when Brian is imported