跳转到主要内容

Backyard Brains Spike Recorder软件的Python绑定。

项目描述

spike-recorder

Actions Status Documentation Status Code style: black

PyPI version Conda-Forge PyPI platforms

Gitter

此包实现了一个用于Backyard Brains Spike Recorder的Python接口,这是一个神经记录应用程序。它基于分支原始的C++代码,可在此处找到。此外,它还包含两个用Python编写的心理学实验应用程序,通过SpikeRecorder控制和记录事件。

安装

您可以使用pip从PyPI安装此库

python -m pip install spike-recorder

用法

要运行SpikeRecorder应用程序,只需在命令行上调用它

spike-recorder

如果您想与下面的任何一个实验一起启动SpikeRecorder应用程序,请使用--spike-reord选项调用它们。

艾奥瓦赌博任务

Iowa Task Screenshot

要启动艾奥瓦赌博任务实验,请运行

iowa

有一些可用的选项和参数

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实验

Libet Experiment Screenshot

要启动Libet任务实验,只需运行

libet

如果您想调整时钟的速度或任何阶段的试验次数,请查看可用的选项

usage: libet [-h] [--spike-record] [--num-trials-paradigm1 NUM_TRIALS_PARADIGM1] [--num-trials-paradigm2 NUM_TRIALS_PARADIGM2] [--clock-hz-paradigm1 CLOCK_HZ_PARADIGM1] [--clock-hz-paradigm2 CLOCK_HZ_PARADIGM2]

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-paradigm1 NUM_TRIALS_PARADIGM1
                        The number of trials to conduct for paradigm one. Default is 20.
  --num-trials-paradigm2 NUM_TRIALS_PARADIGM2
                        The number of trials to conduct for paradigm two, 
                        in which time of urge is asked. Default is 20.
  --clock-hz-paradigm1 CLOCK_HZ_PARADIGM1
                        The number of full rotations the clock makes per second in paradigm one. 
                        Default is 1 but can be set lower than 1.
  --clock-hz-paradigm2 CLOCK_HZ_PARADIGM2
                        The number of full rotations the clock makes per second in paradigm two. 
                        Default is 1 but can be set lower than 1.

项目详情


下载文件

下载您平台的文件。如果您不确定该选择哪个,请了解更多关于安装包的信息。

源分布

spike_recorder-0.3.3.tar.gz (6.9 kB 查看哈希值)

上传时间:

构建分布

spike_recorder-0.3.3-cp39-cp39-win_amd64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.9 Windows x86-64

spike_recorder-0.3.3-cp39-cp39-macosx_10_9_x86_64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.9 macOS 10.9+ x86-64

spike_recorder-0.3.3-cp38-cp38-win_amd64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.8 Windows x86-64

spike_recorder-0.3.3-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.8 macOS 10.9+ x86-64

spike_recorder-0.3.3-cp37-cp37m-win_amd64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.7m Windows x86-64

spike_recorder-0.3.3-cp37-cp37m-macosx_10_9_x86_64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.7m macOS 10.9+ x86-64

spike_recorder-0.3.3-cp36-cp36m-win_amd64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.6m Windows x86-64

spike_recorder-0.3.3-cp36-cp36m-macosx_10_9_x86_64.whl (1.9 MB 查看哈希值)

上传时间: CPython 3.6m macOS 10.9+ x86-64

由以下赞助

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面