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.2.2.tar.gz (173.4 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.2.2-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for superneuromat-3.2.2.tar.gz
Algorithm Hash digest
SHA256 297949ca617270ea7cdb8aa106ce091300a8693d3cb255c02cd3d2f7d5d03488
MD5 cf37ddbf00cf7ae470845136e195c89b
BLAKE2b-256 0558fd2ad7fe7732d49bb277717f5f1bbfd2b2f10e49c4c2c1de5ee9c07cf296

See more details on using hashes here.

Provenance

The following attestation bundles were made for superneuromat-3.2.2.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.2.2-py3-none-any.whl.

File metadata

  • Download URL: superneuromat-3.2.2-py3-none-any.whl
  • Upload date:
  • Size: 39.9 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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 941f86e44fbe5510373210620ebd566f13f92aed56643ea0de64c572c5f58c6e
MD5 bfacac4e8153e19b9e8e808cf453fa04
BLAKE2b-256 09046e9434c8823206df07f42949dd5216c68660b1af344d2a158f8ddcf0244a

See more details on using hashes here.

Provenance

The following attestation bundles were made for superneuromat-3.2.2-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