Skip to content

radiens_core.models.core_config

Core hardware configuration models.

Classes

CableDelay

Bases: BaseModel

Cable delay configuration for a specific port.

Attributes:

Name Type Description
port Port

The hardware port for which the cable delay is configured. References Port.

cable_delay int

The cable delay value in units specific to the hardware.

is_auto bool

Whether the cable delay is automatically determined by the system.

CoreConfig

Bases: BaseModel

Core hardware configuration retrieved from the server.

Attributes:

Name Type Description
allego_core_server_port str

The network port used by the Allego Core server.

base_samp_freq float

Base sampling frequency in Hertz.

stream_loop_dur_ms int

Stream loop duration in milliseconds.

backbone_mode BackboneMode

Current hardware backbone mode. References BackboneMode.

has_xdaq_gpio_expander bool

Whether the system is equipped with an XDAQ GPIO expander.

cable_delays dict[int, CableDelay]

Mapping of port indices to their respective CableDelay configurations.

SetCoreConfigRequest

Bases: BaseModel

Request to update core hardware configuration.

Attributes:

Name Type Description
samp_freq float | None

Target sampling frequency in Hertz. Defaults to None.

loop_dur float | None

Target loop duration in milliseconds. Defaults to None.

pcache_persistence float | None

PCache persistence duration. Defaults to None.

cable_delay CableDelay | None

Specific cable delay configuration to set. References CableDelay. Defaults to None.