Skip to main content

Python bindings for the Backyard Brains Spike Recorder software.

Project description

spike-recorder

Actions Status Documentation Status Code style: black

PyPI version Conda-Forge PyPI platforms

Gitter

This package implements a Python interface for the Backyard Brains Spike Recorder, a neural recording application. It is based off a fork of the original C++ code, found here. In addition, it contains two psychological experiment applications written in Python that control and record events via the SpikeRecorder.

Installation

You can install this library from PyPI with pip:

python -m pip install spike-recorder

Usage

To run the SpikeRecorder application simply invoke it on the command line

spike-recorder

If you want to launch the SpikeRecorder application alongside either of the experiments below then invoke them with the --spike-reord option.

Iowa Gambling Task

Iowa Task Screenshot

To launch the Iowa Gambling Task Experiment, run:

iowa

There are some available options and arguments:

usage: iowa [-h] [--spike-record] [--total-deck-pulls TOTAL_DECK_PULLS]

optional arguments:
  -h, --help            show this help message and exit
  --spike-record        Launch Backyard Brains Spike Recorder in background. Default is do not run.
  --total-deck-pulls TOTAL_DECK_PULLS
                        The total number of deck pulls in the experiment. Default is 100.


Libet Experiment

Libet Experiment Screenshot

To launch the Libet Task Experiment, simply run:

libet

If you wish to adjust the speed of the clock or the number of trials in either phase, see the available options:

usage: libet [-h] [--spike-record] [--num-trials-phase1 NUM_TRIALS_PHASE1] [--num-trials-phase2 NUM_TRIALS_PHASE2] [--clock_hz CLOCK_HZ]

optional arguments:
  -h, --help            show this help message and exit
  --spike-record        Launch Backyard Brains Spike Recorder in background. Default is do not run.
  --num-trials-phase1 NUM_TRIALS_PHASE1
                        The number of trials to conduct for phase one. Default is 20.
  --num-trials-phase2 NUM_TRIALS_PHASE2
                        The number of trials to conduct for phase two, in which 
                        time of urge is asked. Default is 20.
  --clock_hz CLOCK_HZ   The number of full rotations the clock makes per second. 
                        Default is 1 but can be set lower than 1.

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

spike_recorder-0.3.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distributions

spike_recorder-0.3.2-cp39-cp39-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.9 Windows x86-64

spike_recorder-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

spike_recorder-0.3.2-cp38-cp38-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

spike_recorder-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

spike_recorder-0.3.2-cp37-cp37m-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.7m Windows x86-64

spike_recorder-0.3.2-cp37-cp37m-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

spike_recorder-0.3.2-cp36-cp36m-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.6m Windows x86-64

spike_recorder-0.3.2-cp36-cp36m-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file spike_recorder-0.3.2.tar.gz.

File metadata

  • Download URL: spike_recorder-0.3.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2.tar.gz
Algorithm Hash digest
SHA256 7876ec7b5e5a5363f5670f35d141a1167bc0abe56c38d6d9f377d2d4477830d9
MD5 6e94fefea6977b80c9241b7ee92d442d
BLAKE2b-256 b2a36d403ed01cbbce770641a25131f5d6ecfa9d08168ec38af5483133572428

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1aa5c84abbb7e2829a64df8877819e653937effd8c5679d32e38b493b08a3766
MD5 171045786023e18e2af1073962ccb864
BLAKE2b-256 f80a26450eb892b50702e0cc437c410c9cb6e6fc74f5d0c06ddb905bc49df746

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ceb58418f2adb941710b80a3475a055c83d7eb44887ea1389e3c9959c495daf
MD5 2daed765d6f38b4265b4b28f031c7289
BLAKE2b-256 74fe4cba0fa2f56d7627c91083c1341f2a98da21b40ce60f1533a9940cd7a3ee

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7d1f966b26a51522e9118d9427fa75a5a79f0223bf99db25bb6ee1549450c3e2
MD5 5c98ceeec1393112d7b43016c89ea2d1
BLAKE2b-256 02d05734232c6e8ad9da891e3d3c4e4df1ba2230ccb6a304e3f651b3476ccd9f

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 18d3e058a298bf233fa6e98bf1b41c13d9999e37a592658f507742e32d6e034a
MD5 c2d347e5c530c2c0ee00123518afb096
BLAKE2b-256 6b1260d2e906796b90be86957ddb90b0569084b29a54ab6c5e7978a5e6b5da77

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f0ce2868b9ee85afaefb192bf170bd6d538c693ed95f25bf023aa4bdc9940c76
MD5 3c94db2a4c0f7ca4aea3fc81fd5a5cf0
BLAKE2b-256 c278c65683f156df90742f10a7b26e39a7728b76be96f359212f0261fcf6b9f9

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 54ac9e20dc35a28a634e64d53e6fdfb43ca8e18f2151f0ffe17f16e9df9711e9
MD5 b6c11e282ac934fd4994b8e3846c0cdc
BLAKE2b-256 171e2389e1154d44161e4b7df1680788c2003338d1bb5b310db6f85b30b25636

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c3d0868087236e72ba108916e6156564cb044c6c93ec9774d03ab868a3015790
MD5 e6720859a025fdf824c8738af778eda7
BLAKE2b-256 6879029d272041947b292ae0f2fa2990c7ed541d6f9c5c5e94219c8827616895

See more details on using hashes here.

File details

Details for the file spike_recorder-0.3.2-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: spike_recorder-0.3.2-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for spike_recorder-0.3.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ee0baafbdbdb09ba7587565ab446652c58ba4153b5c266194909799b4198c61a
MD5 c8591b487b5d80a07cc30b065863ef92
BLAKE2b-256 151b4ba6a725506dc244f8add9243d6f4e8349ff5e89d8aff15e7ab8584e1a74

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