ibex_bluesky_core.devices.dae

Utilities for the DAE device - mostly XML helpers.

Submodules

dae

ophyd-async devices for communicating with the ISIS data acquisition electronics.

dae_controls

ophyd-async devices and utilities for the DAE run controls.

dae_event_mode

ophyd-async devices and utilities for the DAE event mode statistics.

dae_monitor

ophyd-async devices and utilities for a DAE monitor.

dae_period

ophyd-async devices and utilities for a DAE period.

dae_period_settings

ophyd-async devices and utilities for the DAE hardware period settings.

dae_settings

ophyd-async devices and utilities for the general DAE settings.

dae_spectra

ophyd-async devices and utilities for a single DAE spectra.

dae_tcb_settings

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

Members

convert_xml_to_names_and_values

Convert an XML element's children to a dict containing <Name>.text:<Val>.text.

get_all_elements_in_xml_with_child_called_name

Find all elements with a "name" element, but ignore the first one as it's the root.

set_value_in_dae_xml

Find and set a value in the DAE XML, given a name and value.

ibex_bluesky_core.devices.dae.convert_xml_to_names_and_values(xml: Element) Dict[str, str][source]

Convert an XML element’s children to a dict containing <Name>.text:<Val>.text.

ibex_bluesky_core.devices.dae.get_all_elements_in_xml_with_child_called_name(xml: Element) List[Element][source]

Find all elements with a “name” element, but ignore the first one as it’s the root.

ibex_bluesky_core.devices.dae.set_value_in_dae_xml(elements: List[Element], name: str, value: str | Enum | int | None | float) None[source]

Find and set a value in the DAE XML, given a name and value.

Do nothing (by design) if value is None to leave value unchanged.