Skip to main content

Code to control the BlackBox ToolKit v2 device for audio-visual timing checks

Project description

The BlackBox ToolKit v2 is a device that allows psychologists to accurately measure the timing of audio-visual stimuli.

The BBTKv2 communicates via a serial protocol over USB. The bbtkv2 python module provided here encapsualtes (some of) the commands described in the API Guide. In a nutshell:

import bbtkv2 

bb = bbtkv2.BlackBoxToolKit()
bb.adjust_thresholds()  # adjust the thresholds manually
bb.clear_timing_data()
text = bb.capture(10)
df1 = bbtkv2.capture_output_to_dataframe(text)
processed_events = bbtkv2.capture_dataframe_to_events(df1)
print(processed_events)

Documentation

Check https://bbtkv2.readthedocs.io/en/latest/intro.html

Installation

pip install bbtkv2==0.1 

Christophe@Pallier.org

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

bbtkv2-0.3.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bbtkv2-0.3-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file bbtkv2-0.3.tar.gz.

File metadata

  • Download URL: bbtkv2-0.3.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for bbtkv2-0.3.tar.gz
Algorithm Hash digest
SHA256 99728840e70c525aef31235c46b9f0f471a2ebc45de9ffa3e21a1ba3df93ed0a
MD5 9083c40848df32549d40179ff907126e
BLAKE2b-256 7322b66efe31dfae6f82712b3ace1a82eae9e371bd3e5c0f7fee6baef415da4c

See more details on using hashes here.

File details

Details for the file bbtkv2-0.3-py3-none-any.whl.

File metadata

  • Download URL: bbtkv2-0.3-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for bbtkv2-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a070a60babcf9b1780cb6470069de450aa09f879bbde39c1acd7c5cc5d8bf5a3
MD5 f6982e11d6865d855bc75ebf032531b6
BLAKE2b-256 4294eff546fdcb6e411dd58d60fcb9b73f71b8c71e5314baede978b92c6ac7c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page