Skip to main content

SynaCell

Synapses and cells.

Spiking neural network (SNN) consisted of cells with processing algorithms, connected by synapses with realistic signal transmission properties. The engine that runs the SNN is written in plain C++ with interface in Python, for simplicity and platform mobility.

Tests

We implemented test scripts as a module. You can run them by running the following commands from python console after installing the synacell library:

import synacell.test as sctest
sctest.run_all()

Warning: The script generates temporary files in the directory from where you run the python console.

Tests that will run when running sctest.run_all() are the test functions from the modules:

  • test_simple
  • test_plot

Examples

example_spice

Compare results with LTSpice output. The goal is to validate the solution of the differential equation describing the synapse or cell circuit. Submodules are:

  • example_spice
  • example_part

SynaRCA

Compare the difference between the spice model of the SynaRCA circuit and the synacell model. Run the example:

import synacell.examples as scex
scex.run_spice("SynaRCA")

This example runs two circuits, one for ODE of order 1 and the other for ODE of order 2.

Example produces files in the working directory (where you run python from).

  • SynaRCA.wav - WAV file for the synacell
  • SynaRCA.raw - Spice file that can be runned from python's LTSpice
  • SynaRCA.asc - Spice file that can be openned from LTSpice and examine or modify the circuit.
  • SynaRCA.pwl - Input file for the spice model, produced by synacell.

example_part

Watch output from different parts.

CellEMA

Watch the cell output (vo) that performs Exponential Moving Average from its input (vi). Run the example:

import synacell.examples as scex
scex.run_part("CellEMA")

CellMultiData

Loading of multiple files into single CellMultiData neuron and using the cell as validator and error computing cell:

import synacell.examples as scex
scex.run_part("CellMultiData")

CellRLC

Computes the transfer function H(f) for CellRLC cell.

import synacell.examples as scex
scex.run_part("CellRLC")

Requirements

For now, we compiled the C++ software as a Windows shared library (.dll) for 64-bit architectures. We set the official PyPI package for:

  • Windows 64bit
  • Python 3.7+ 64bit

If you plan to compile the c++ by yourself, check the file: HOWTO.md

Metadata

Release files for synacell 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synacell 0.0.11
File Size Uploaded Provenance
synacell-0.0.11.tar.gz 4.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for synacell 0.0.11
File Interpreter ABI Platform
synacell-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 MB

Release files / synacell-0.0.11.tar.gz

Download URL synacell-0.0.11.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
2d09023e8698903610fe3f780f1ed3e32f5de7b4dc3a3665d6c0489400ef9021
BLAKE2b-256 checksum
How to use checksums
3531de604a520995f79a25764eacc9d3adb048b179b12ac2f7ada7987c508563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.7

Release files / synacell-0.0.11-py3-none-any.whl

Download URL synacell-0.0.11-py3-none-any.whl
Size 4.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5e940bb14e6837f7de1cf0428c834b81e64f17f14c21bc699ab9c8c3f413ca75
BLAKE2b-256 checksum
How to use checksums
d500bb52bece5650509c846c37a7ac327cbd439aabb63551093d2ede110c1ffe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.7

Security for synacell 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page