radiens_core.models.status
System status domain models and enums.
| CLASS | DESCRIPTION |
|---|---|
BackboneMode |
Hardware backbone mode. |
BackboneStatus |
Complete system backbone status. |
DataRecordingType |
Data recording type. |
RecordMode |
Data recording mode. |
RecordStateRequest |
Request to change recording state. |
RecordingConfig |
Recording configuration settings. |
RecordingStatus |
Current recording status. |
SinapsStatusRegisters |
Status registers for a Sinaps probe. |
StreamMode |
Data stream mode. |
StreamStateRequest |
Request to change streaming state. |
StreamingStatus |
Current streaming status. |
| ATTRIBUTE | DESCRIPTION |
|---|---|
FlexBackboneMode |
|
Attributes
FlexBackboneMode
module-attribute
FlexBackboneMode = BackboneMode | str
BackboneMode that also accepts a string enum name (case-insensitive).
Classes
BackboneMode
Bases: IntEnum
Hardware backbone mode.
| ATTRIBUTE | DESCRIPTION |
|---|---|
SMARTBOX_SIM_GEN_SINE |
Simulator generating low-frequency sine waves.
|
SMARTBOX_SIM_GEN_BROADBAND |
Simulator generating LFP plus baseline-free spikes; the content follows the sample rate.
|
BackboneStatus
Bases: BaseModel
Complete system backbone status.
| ATTRIBUTE | DESCRIPTION |
|---|---|
streaming |
Current streaming status.
TYPE:
|
recording |
Current recording status.
TYPE:
|
ports |
List of port channel counts.
TYPE:
|
is_connected |
Whether the backbone is connected.
TYPE:
|
gpio_channel_count |
GPIO channel count information.
TYPE:
|
DataRecordingType
RecordMode
RecordStateRequest
Bases: BaseModel
Request to change recording state.
Only the deprecated AllegoClient.set_record_state() takes this.
| ATTRIBUTE | DESCRIPTION |
|---|---|
mode |
Target recording mode.
TYPE:
|
port |
Port to control;
TYPE:
|
RecordingConfig
Bases: BaseModel
Recording configuration settings.
Configures output file paths, naming, and recording behavior.
Used as both request (update_recording_config()) and response (get_recording_config()).
| ATTRIBUTE | DESCRIPTION |
|---|---|
base_file_name |
Base filename for recording output (without extension or timestamp).
TYPE:
|
base_file_path |
Base directory path for recording files.
TYPE:
|
datasource_idx |
Index number for the composed file name.
TYPE:
|
time_stamp |
True to include timestamp in the composed file name. Defaults to True.
TYPE:
|
split_files_by_port |
True to create separate files for each port. Defaults to False.
TYPE:
|
force_start_at_tstamp_0 |
True to force recording to start at timestamp 0. Defaults to False.
TYPE:
|
recording_type |
Type of data to record. Also accepts
string names (e.g.
TYPE:
|
RecordingStatus
Bases: BaseModel
Current recording status.
| ATTRIBUTE | DESCRIPTION |
|---|---|
record_mode |
TYPE:
|
active_filename |
Name of the file currently being recorded.
TYPE:
|
duration |
Current recording duration in seconds.
TYPE:
|
error |
Current recording error message, if any.
TYPE:
|
record_mode_port_a |
Recording mode for port A;
TYPE:
|
record_mode_port_b |
Recording mode for port B;
TYPE:
|
record_mode_port_c |
Recording mode for port C;
TYPE:
|
record_mode_port_d |
Recording mode for port D;
TYPE:
|
record_mode_port_e |
Recording mode for port E;
TYPE:
|
record_mode_port_f |
Recording mode for port F;
TYPE:
|
record_mode_port_g |
Recording mode for port G;
TYPE:
|
record_mode_port_h |
Recording mode for port H;
TYPE:
|
SinapsStatusRegisters
Bases: BaseModel
Status registers for a Sinaps probe.
| ATTRIBUTE | DESCRIPTION |
|---|---|
calibration_state |
True if the probe is currently calibrating.
TYPE:
|
calibration_progress |
Calibration progress (0.0 to 1.0).
TYPE:
|
num_active_pixels_shank0 |
Number of active pixels on shank 0.
TYPE:
|
num_active_pixels_shank1 |
Number of active pixels on shank 1.
TYPE:
|
num_active_pixels_shank2 |
Number of active pixels on shank 2.
TYPE:
|
num_active_pixels_shank3 |
Number of active pixels on shank 3.
TYPE:
|
v_ref_ffa |
Reference voltage FFA.
TYPE:
|
v_ref_ffb |
Reference voltage FFB.
TYPE:
|
v_ref_ffc |
Reference voltage FFC.
TYPE:
|
v_ref_ffd |
Reference voltage FFD.
TYPE:
|
is_error0 |
True if there is an error on shank 0.
TYPE:
|
is_error1 |
True if there is an error on shank 1.
TYPE:
|
is_error2 |
True if there is an error on shank 2.
TYPE:
|
is_error3 |
True if there is an error on shank 3.
TYPE:
|
host_counter |
Host-side packet counter.
TYPE:
|
fpga_counter |
FPGA-side packet counter.
TYPE:
|
firmware_version |
Probe firmware version string.
TYPE:
|
probe_generation |
Probe hardware generation number.
TYPE:
|
probe_model |
Probe model number.
TYPE:
|
StreamMode
StreamStateRequest
Bases: BaseModel
Request to change streaming state.
Only the deprecated AllegoClient.set_stream_state() takes this.
| ATTRIBUTE | DESCRIPTION |
|---|---|
mode |
Target streaming mode.
TYPE:
|
StreamingStatus
Bases: BaseModel
Current streaming status.
| ATTRIBUTE | DESCRIPTION |
|---|---|
stream_mode |
Current streaming mode.
TYPE:
|
primary_cache_t_range |
|
hardware_memory_level |
Hardware memory fill level (0.0 to 1.0).
TYPE:
|