iblrig.base_tasks
Commonalities for all tasks.
This module provides hardware mixins that can be used together with BaseSession to compose tasks. This module tries to exclude task related logic.
Classes
Abstract base class for all sessions. |
|
Frame 2 TTL interface for state machine. |
|
A mixin for communicating to auxiliary acquisition PC over a network. |
|
Handles communication to Bonsai using a UDP Client OSC channels: USED: /t -> (int) trial number current /p -> (int) position of stimulus init for current trial /h -> (float) phase of gabor for current trial /c -> (float) contrast of stimulus for current trial /f -> (float) frequency of gabor patch for current trial /a -> (float) angle of gabor patch for current trial /g -> (float) gain of RE to visual stim displacement /s -> (float) sigma of the 2D gaussian of gabor /e -> (int) events transitions USED BY SOFTCODE HANDLER FUNC /r -> (int) whether to reverse the side contingencies (0, 1) |
|
Rotary encoder interface for state machine. |
|
Sound interface methods for state machine. |
|
Like SpontaneousSession but with the BpodMixin added in. |
|
A Spontaneous task doesn't have trials, it just runs until the user stops it. |
|