Triggers#
The psychos.triggers module provides classes and functions for sending triggers and signals to external devices. It’s designed to simplify interactions with external hardware by providing a unified API and encapsulating repetitive logic, making it easier to synchronize behavioral experiments with external equipment.
Ports#
Classes for sending signals to different communication ports, providing a unified and easy-to-use API for port communication and management.
Get a port implementation by name (e.g. serial, parallel, dummy). |
|
|
Dummy port implementation for testing and debugging. |
|
Serial port implementation using pyserial. |
|
Parallel port implementation using pyparallel. |
|
Base class for a port. |
Triggers#
Classes designed to send triggers through communication ports, encapsulating repetitive logic and providing utility methods to handle timing and trigger patterns conveniently.
|
Trigger that sends a value without resetting the port. |
|
Trigger that sends a value, waits for a specified delay, then resets the port. |
|
Abstract base class for trigger implementations. |