Skip to main content

Emulator for PyBpod to work with the Bpod’s State Machine ports.

At the moment, the Emulator for PyBpod module works by overriding inputs and outputs on a running task protocol. This will interact directly with a running State Machine in Bpod. As such, any event or state change that would occur naturally from any of those input or output changes, will occur.

  • Free software: MIT license

Current Features

  • Allows to override the Port components (i.e., LED, Poke and Valve)

  • BNC In and Out value override

  • Wire inputs and outputs override for Bpod 0.7

  • Override Serial message for the connected modules (sends a bytes message)

  • Messages are sent while the State Machine is running, triggering the events and/or state changes as if the values were coming from the real inputs/outputs.

Installation

Please see Installation page.

Documentation

https://pybpod-gui-plugin-emulator.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.1.5 (2020-02-10)

  • Renamed ‘Skip all trials’ button to ‘Stop’

  • Renamed ‘Stop trial’ button to ‘Skip trial’

0.1.4 (2019-11-07)

  • Add task kill button to UI

  • Reordered the “Test Protocol IO” button in the UI

0.1.3 (2019-05-14)

  • Fixed override messages not being sent properly on Windows

  • Fix for pause not working

0.1.2 (2019-05-13)

  • Fix for README to comply with PyPI support for reStructuredText

0.1.1 (2019-05-13)

  • Fix for disappearing board on Setup window

0.1.0 (2019-05-03)

  • First release on PyPI.

  • Added support for Bpod version detection and automatic UI adaptation to the different input/output ports and connected modules

  • Ports components can be overriden (i.e., LED, Poke and Valve)

  • BNC In and Out value override

  • Wire inputs and outputs override for Bpod 0.7

  • Override Serial message for the connected modules (bytes message)

Metadata

Release files for pybpod-gui-plugin-emulator 0.1.5

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

Source distribution (sdist)

Source distribution for pybpod-gui-plugin-emulator 0.1.5
File Size Uploaded
pybpod-gui-plugin-emulator-0.1.5.tar.gz 258.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybpod-gui-plugin-emulator 0.1.5
File Interpreter ABI Platform
pybpod_gui_plugin_emulator-0.1.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 269.6 kB

Release files / pybpod-gui-plugin-emulator-0.1.5.tar.gz

Download URL pybpod-gui-plugin-emulator-0.1.5.tar.gz
Size 258.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7ec81a40c38a3000e15729580de558775acc77c9d86e0ffc7f33e23d5abcae14
BLAKE2b-256 checksum
How to use checksums
c0ce776d6b962a66500be9f943c565bf5088f407566f5c7d4bcfaadb3c00800d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

Release files / pybpod_gui_plugin_emulator-0.1.5-py2.py3-none-any.whl

Download URL pybpod_gui_plugin_emulator-0.1.5-py2.py3-none-any.whl
Size 11.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2726028f8bea5eca750ee8808ca96a6f6a1c9709f7df909c5dacbff876b2fbe0
BLAKE2b-256 checksum
How to use checksums
eab8691a1227d405b1909a726f69c7b249795f349bdd9bb31277441bc4222f7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

1 release file

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