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.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

spike_recorder-0.2.0-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.2.0-cp38-cp38-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

spike_recorder-0.2.0-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.2.0-cp37-cp37m-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.7m Windows x86-64

spike_recorder-0.2.0-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.2.0-cp36-cp36m-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.6m Windows x86-64

spike_recorder-0.2.0-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.2.0.tar.gz.

File metadata

  • Download URL: spike_recorder-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ee92a7e958274d20900afc563461a912bc2ba27785a806bc5d00718ee30e5214
MD5 01b640e04fa076cba91905e6d4681e60
BLAKE2b-256 75f823f55bce8e685cd069ffd66e89b4b791e33651f8468c3c73dd8f6b06210b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cf845516bfb26d65ac8e1081ec35d8f06c12a060d0c26ba915ae4c3f2ac7a410
MD5 21f3b81edc7f77765fd95775c7838b8a
BLAKE2b-256 7efd51900edc85bc3bdcbf8b5de327c2facc19fd39a18614d4e54bd0e2205249

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 479e2853f3370a7013878679e68f63dc7bfb7fdfd89fc4c4f602a20348642399
MD5 f51e827b9f84352fdc8e303864a620f0
BLAKE2b-256 b96b860bfd089d5059e204f34520c8cf9b327eabd7b6b2c0c6f0bd16162a6254

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2696f73a0ea776a89f7178361a251a6744404667e911ce51d4cf7b35408c559a
MD5 7b90ab8fbc7aea911578f05ea1eab65e
BLAKE2b-256 db3759bcc4e1dadb2de7dab1d1bedbe2a2e22fd287fc2e4f0a0f4e2d9501a424

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2c3a8e0e7e63d277ce032d85b420905a27d1569f23372d00fa780e23308bd220
MD5 9b400b25d1f8078bc161fe192f2b76dc
BLAKE2b-256 a340a28a284d1e3a94409403d93ae57c6ca1310dc11d1ed667fa9b8feccb46f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4866be3583f753d554b6744435a15f3b09f9295830e9c9da31c729e35a469378
MD5 558c3196895f43433a716b2575f2477a
BLAKE2b-256 3f4e2cef959216360e01666d3b8b3c86735d143f6e3f08727a1f8ea1f0347665

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ceb0ed4b938523191a2ea255873c294f36921f69de13c28fa0f6b8fb99ddd09
MD5 b96fb6f2971bb5b7f0769b29ff7c9fa3
BLAKE2b-256 d6123da9fab923dadf18d627027a31087aa5869a8b83d4b714d95039f9e14985

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a1d95d06481ec73dd35b465e70b104dc44f4b068a354b1e9fc1d2c95ee74ffe0
MD5 f84db2172a0072cbeea8836971967521
BLAKE2b-256 2d38d470a3f115aaf2c3ced4d1a7a10659070b8464e0344f22d9647570abbc8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spike_recorder-0.2.0-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/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for spike_recorder-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ce7f554cd345cc4b5b6666d7b4fd73e1f74a70ca8f2ac56f8ce642864c492835
MD5 dea826be1b886575c8b67c1a21324fdd
BLAKE2b-256 f21026e087143460cf93a85ed149e651977b7917742d76af7234f657a8cfdaf1

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