ibex_bluesky_core.devices.dae.dae_tcb_settings

ophyd-async devices and utilities for the DAE time channel settings.

Members

CalculationMethod

Calculation method for DAE TCB settings.

DaeTCBSettings

Subdevice for the DAE time channel settings.

DaeTCBSettingsData

Dataclass for the DAE TCB settings.

TimeRegime

Time regime - contains a dict(rows) which is row_number:TimeRegimeRow.

TimeRegimeMode

Time Regime Mode options for a single row.

TimeRegimeRow

A single time regime row.

TimeUnit

Time unit for DAE TCB settings.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.CalculationMethod(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Calculation method for DAE TCB settings.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.DaeTCBSettings(dae_prefix: str, name: str = '')[source]

Bases: Device, Locatable, Movable

Subdevice for the DAE time channel settings.

Set up signal for the DAE time channel settings.

See DaeTCBSettingsData for options.

async locate() Location[DaeTCBSettingsData][source]

Retrieve and convert the current XML to DaeTCBSettingsData.

set(value: DaeTCBSettingsData) None[source]

Set any changes in the tcb settings to the XML.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.DaeTCBSettingsData(*, tcb_tables: Dict[int, TimeRegime] | None = None, tcb_file: str | None = None, time_unit: TimeUnit | None = None, tcb_calculation_method: CalculationMethod | None = None)[source]

Bases: object

Dataclass for the DAE TCB settings.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.TimeRegime(rows: Dict[int, TimeRegimeRow])[source]

Bases: object

Time regime - contains a dict(rows) which is row_number:TimeRegimeRow.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.TimeRegimeMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Time Regime Mode options for a single row.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.TimeRegimeRow(*, from_: float | None = None, to: float | None = None, steps: float | None = None, mode: TimeRegimeMode | None = None)[source]

Bases: object

A single time regime row.

class ibex_bluesky_core.devices.dae.dae_tcb_settings.TimeUnit(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Time unit for DAE TCB settings.