Skip to content

kenblu24/superneuromat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

203 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperNeuroMAT Logo

The Super Speedy Spike Simulator.

SuperNeuroMAT

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

Tox: Selected Tests Sphinx: Build HTML

Documentation available: https://kenblu24.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.

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:

About

A matrix-based simulator for neuromorphic computing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%