Skip to main content

A fast and scalable matrix-based simulator for Spiking Neural Networks (SNNs).

Project description

SuperNeuroMAT Logo

SuperNeuroMAT

The Super Speedy Spike Simulator.

SuperNeuroMAT is a Python package for simulating and analyzing spiking neural networks.

Tox: Selected Tests Sphinx: Build HTML Build & Upload Python Package

Documentation available: https://ORNL.github.io/superneuromat/

Documentation

Unlike its sister package, SuperNeuroABM, SuperNeuroMAT uses a matrix-based representation of the network, which allows for more efficient simulation and GPU acceleration.

SuperNeuroMAT focuses on super-fast computation of Leaky Integrate and Fire (LIF) spiking neuron models with STDP.

It provides:

  1. Support for leaky integrate and fire neuron model with the following parameters:
  • neuron threshold
  • neuron leak
  • neuron refractory period
  1. Support for Spiking-Time-Dependent Plasticity (STDP) on synapses with:
  • weight
  • delay
  • per-synapse disabling of learning
  1. Support for all-to-all connections as well as self connections
  2. A turing-complete model of neuromorphic computing
  3. Optional GPU acceleration or Optional Sparse computation
  • Note that long delays may impact performance. Consider using an agent-based simulator such as SuperNeuroABM for longer delays.

Installation

  1. Install using pip install superneuromat
  2. Update/upgrade using pip install superneuromat --upgrade

The installation guide covers virtual environments, faster installation with uv, installing support for CUDA GPU acceleration, and more.

Usage

Import the spiking neural network class:

from superneuromat import SNN

See the tutorial for more.

Additionally, the migration guide may be of use to those coming from older versions of SuperNeuroMAT.

Citation

  1. Please cite SuperNeuroMAT using:
    @inproceedings{date2023superneuro,
      title={SuperNeuro: A fast and scalable simulator for neuromorphic computing},
      author={Date, Prasanna and Gunaratne, Chathika and R. Kulkarni, Shruti and Patton, Robert and Coletti, Mark and Potok, Thomas},
      booktitle={Proceedings of the 2023 International Conference on Neuromorphic Systems},
      pages={1--4},
      year={2023}
    }
    
  2. References for SuperNeuroMAT:

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

superneuromat-3.3.0.tar.gz (180.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superneuromat-3.3.0-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

Details for the file superneuromat-3.3.0.tar.gz.

File metadata

  • Download URL: superneuromat-3.3.0.tar.gz
  • Upload date:
  • Size: 180.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for superneuromat-3.3.0.tar.gz
Algorithm Hash digest
SHA256 5c46d41fcbe1c37266627ee538c71fa822b07c2ad23bf1b99da3782e5aa8c7ca
MD5 921c8072130aa8a2754fca2584920517
BLAKE2b-256 7ab23b80e530d03e764ab2f22764427012f3ce24ce72ca9711513d49a594cdcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for superneuromat-3.3.0.tar.gz:

Publisher: pypi-release.yml on ORNL/superneuromat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file superneuromat-3.3.0-py3-none-any.whl.

File metadata

  • Download URL: superneuromat-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 44.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for superneuromat-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ffe3049b443bc10b136f3d811dd8d20fd3764d3d24a527aa0f341035230a4c0
MD5 6fb04656f13c92fcac6f9ce699c6baee
BLAKE2b-256 8198e85bf462788de4f0f1b24e9701852088d2051eb7ec4cb8dbf2dff135d80c

See more details on using hashes here.

Provenance

The following attestation bundles were made for superneuromat-3.3.0-py3-none-any.whl:

Publisher: pypi-release.yml on ORNL/superneuromat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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