Predictive Brain Lab Experiment Helpers#
Helper functions for running experiments at the Predictive Brain Lab in Bochum.
The package provides simple tools for running experiments while recording events and experimental information across devices.
Installation#
The library can be installed via pip:
pip install pbl-exp
Documentation#
See the full documentation, including the API reference and examples.
Modules and functionality#
pupil_labs#
Supports connecting to and configuring a Pupil Labs eye tracker (such as Neon):
Discover available devices and select one to connect to
Verify the active recording template and optionally update its data
Send timestamped events to the device (with offset correction)
lsl#
Provides helpers for Lab Streaming Layer (LSL) and LabRecorder:
Create an LSL string-marker outlet
Check whether one or more streams are available
Launch, configure, and control LabRecorder
markers#
Generates AprilTag and ArUco fiducial markers as PsychoPy stimuli, with optional automatic positioning around the display.
hue#
Provides a small Philips Hue Bridge client for discovering, listing, and controlling lights.