Skip to main content

Single-Unit Electrode DEcoding

Project description

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.

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

suede-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

suede-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file suede-0.1.1.tar.gz.

File metadata

  • Download URL: suede-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for suede-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f38769dc055bbabc7a2fc99ff187cc3ed3422fc845043ba9d1538d14725aaccc
MD5 15523637e1fcb80d250ff53f981d8832
BLAKE2b-256 94f2d5df128e528f456f73f0e15fe06560ad4043d5642b689ff927dd854df30a

See more details on using hashes here.

File details

Details for the file suede-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: suede-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for suede-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d80a34a8e4b8f9165a7f54a92e75ceee9bcb3295cbfec42246983375bbb5bfc
MD5 caeadf703044710d3e949fb0eecea5ea
BLAKE2b-256 6f90de93b99572ea8467365313905757114a66ae90fa3f69f73fb10b860b07de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page