Skip to main content

An open source Brian2 interface for the neuromorphic computing framework Lava

Project description

Brian2Lava

The goal of this open source project is to develop a Brian2 interface for the neuromorphic computing framework Lava, called Brian2Lava, to facilitate deployment of brain-inspired algorithms on Lava-supported neuromorphic hardware and emulator backends. Brian2 is an open source Python package developed and used by the computational neuroscience community to simulate spiking neural networks.

The readme contain a quick introduction. For more detailed information visit our website and our documentation.

Installation

Brian2Lava currently supports Lava with CPU backend. We’re working on Loihi support. Please feel free to test Brian2Lava and report issues.

Brian2Lava requires that Lava is installed. Since Lava is currently not available on pypi.org, you need to install it from the the Lava GitHub repository via:

pip install https://github.com/lava-nc/lava/releases/download/v0.6.0/lava_nc-0.6.0.tar.gz

The installation of Brian2Lava is provided via the the Python Package Index (pip):

pip install brian2lava

Note: perhaps also conda will be supported later.

Getting started

Using Brian2Lava requires only two steps.

First, import the package:

import brian2lava

Second, set the lava device and your hardware backend (currently only CPU is supported, we’re actively working on Loihi):

set_device('lava', hardware='CPU')

For a full example visit the 'Getting Started' page on our website.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Brian2Lava-1.0.0a1.tar.gz (46.4 kB view hashes)

Uploaded Source

Built Distribution

Brian2Lava-1.0.0a1-py3-none-any.whl (60.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page