Metadata-Version: 2.1
Name: pybpod-gui-plugin-emulator
Version: 0.1.5
Summary: Emulator for PyBpod to work with the Bpod's State Machine ports.
Home-page: https://github.com/pybpod/pybpod-gui-plugin-emulator
Author: Luís Teixeira
Author-email: micboucinha@gmail.com
License: MIT
Project-URL: Documentation, https://pybpod-gui-plugin-emulator.readthedocs.io/
Project-URL: Changelog, https://pybpod-gui-plugin-emulator.readthedocs.io/en/latest/changelog.html
Project-URL: Issue Tracker, https://github.com/pybpod/pybpod-gui-plugin-emulator/issues
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Utilities
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Requires-Dist: pybpod-api

========
Overview
========



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:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - 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)


