Skip to content

Latest commit

 

History

History
executable file
·
114 lines (78 loc) · 3.35 KB

README.md

File metadata and controls

executable file
·
114 lines (78 loc) · 3.35 KB

Stargazers Issues license


SPAYK: An environment for spiking neural network simulation

SPAYK is an open source tool developed to simulate spiking neurons and their networks. Documentation studies are still in progress.
Experiments · Issues

Table of Contents
  1. Introduction
  2. Getting Started
  3. License

About The Project

Random Neurons with Izhikevich Model

100 Neurons: All Regular Spiking, Random const. current random_regular

100 Neurons: Random Dynamics with const. current 10mA random_all

Synaptic Channel Models

Synaptic channel models for AMPA, NMDA, GABA_A and GABA_B are now available. Fig 3.2 from Neuronal Dynamics book can be re-created with example script at examples/synaptic_channels.py random_all

First Network

100 presynaptic neurons connected to 1 postsynaptic neuron with random weights. See examples/random100_neurons_to_1.py random_all

Learning Attempt: STDP

STDP support now available. Please see STDP Page at Spayk Wiki. random_all

(back to top)

Getting Started

We recommend creating a new environment to use Spayk.

conda create --name spayk python==3.8 matplotlib==3.5.0 numpy==1.21.2 seaborn==0.11.2 tqdm==4.62.3

After creating the environment, you can activate it and run the examples.

conda activate spayk

Prerequisites

See requirements.txt for more information.

Spayk uses torchvision for MNIST experiments. Before you begin, please install it.

pip install torchvision

Installation

pip install Spayk

Please see project at: https://pypi.org/project/Spayk/

(back to top)

License

Distributed under the BSD-3-Clause license. See LICENSE.txt for more information.

(back to top)