Skip to main content

suede

Single Unit Electrode DEcoders

This package comprises three single-unit electrode related modules. The first, is a single-unit electrode synthetic data generator where you can set neurons’ preferred directions, base firing rate, trial length times, etc. This synthetic data can then be supplied as input to the following two modules, both of which are decoders. The first decoder (second module) is a bayesian decoder, and the second decoder (third module) is an optimal linear estimator. The bayesian decoder can be run solely on the synthetic single-unit electrode data generated from the first module, but the optimal linear estimator in addition to single-unit electrode spiking data requires cursor position data, which is not provided. This package is therefore best suited for offline analysis of existing single-unit electrode datasets.


These decoders are designed for and will work best for center-out reach tasks with one unique target per reach direction. In the following images each red dot signifies a reach target:

4-, 8-, and 16-Target Reach Tasks


1) Synthetic Data Generation: /synthetic_data

Example script available: synthetic_data_script.py
Generates single-unit electrode spike data for a set of neurons with self-specified preferred directions. The result can be visualized with the following set of tools located in /visualization_tools:

  • Histogram of Average Spike Counts Over Time + Average Firing Rates by Direction:

4-Target Reach Task

8-Target Reach Task

16-Target Reach Task


2) Bayesian Decoder: /bayesian

Example script available: bayesian_decoder_script.py
In the following plots, T-int = T integration or integration time, represents the time window of data that is being used by the decoder for training and testing on a per trial basis.

This module uses a bayesian classifier to predict the target direction given the spike activity of neurons in the given training data.

  • Accuracy Plots:

4-, 8-, and 16-Target Reach Tasks


3) Optimal Linear Estimator: /ole

No example script currently available
This module uses spike activity in conjunction with cursor position to train an optimal linear estimator. The trained model can then predict the intended cursor position movement at a specified time.

Release files for suede 0.1.1

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

Source distribution (sdist)

Source distribution for suede 0.1.1
File Size Uploaded
suede-0.1.1.tar.gz 4.0 kB Details

Built distribution (wheel)

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

Total release size: 9.0 kB

Release files / suede-0.1.1.tar.gz

Download URL suede-0.1.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f38769dc055bbabc7a2fc99ff187cc3ed3422fc845043ba9d1538d14725aaccc
BLAKE2b-256 checksum
How to use checksums
94f2d5df128e528f456f73f0e15fe06560ad4043d5642b689ff927dd854df30a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.6.5

Release files / suede-0.1.1-py3-none-any.whl

Download URL suede-0.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d80a34a8e4b8f9165a7f54a92e75ceee9bcb3295cbfec42246983375bbb5bfc
BLAKE2b-256 checksum
How to use checksums
6f90de93b99572ea8467365313905757114a66ae90fa3f69f73fb10b860b07de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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