radiens_core.models.triggers
Trigger control domain models and enums.
| CLASS | DESCRIPTION |
|---|---|
ManualStimTriggerRequest |
Request for manual stimulation trigger. |
ManualStimTriggerToggleRequest |
Request to toggle manual stimulation trigger. |
TriggerChannel |
Trigger channel identifier. |
TriggerState |
Current trigger channel configuration. |
| ATTRIBUTE | DESCRIPTION |
|---|---|
FlexTriggerChannel |
|
Attributes
FlexTriggerChannel
module-attribute
FlexTriggerChannel = TriggerChannel | str | int
TriggerChannel that also accepts a string name or int value.
String inputs use the short name without the T_ prefix, case-insensitively
(e.g. "din_0", "dout_5", "none").
Classes
ManualStimTriggerRequest
Bases: BaseModel
Request for manual stimulation trigger.
Only the deprecated AllegoClient.manual_stim_trigger() takes this.
| ATTRIBUTE | DESCRIPTION |
|---|---|
trigger |
Keypress trigger (1-8).
TYPE:
|
trigger_on |
Whether to turn the trigger on or off.
TYPE:
|
ManualStimTriggerToggleRequest
Bases: BaseModel
Request to toggle manual stimulation trigger.
Only the deprecated AllegoClient.manual_stim_trigger_toggle() takes this.
| ATTRIBUTE | DESCRIPTION |
|---|---|
trigger |
Keypress trigger (1-8).
TYPE:
|
TriggerChannel
TriggerState
Bases: BaseModel
Current trigger channel configuration.
| ATTRIBUTE | DESCRIPTION |
|---|---|
enabled_channels |
List of currently enabled trigger channels.
TYPE:
|
ports |
Port of each enabled trigger, parallel to |