ibex_bluesky_core.devices

Common utilities for use across devices.

Submodules

block

ophyd-async devices and utilities for communicating with IBEX blocks.

dae

Utilities for the DAE device - mostly XML helpers.

simpledae

A simple interface to the DAE for bluesky.

Members

compress_and_hex

Compress the inputted string and encode it as hex.

dehex_and_decompress

Decompresses the inputted string, assuming it is in hex encoding.

get_pv_prefix

Return the PV prefix for the current instrument.

isis_epics_signal_rw

Make a RW signal with ISIS' PV naming standard ie.

ibex_bluesky_core.devices.compress_and_hex(value: str) bytes[source]

Compress the inputted string and encode it as hex.

Parameters:

value – The string to be compressed

Returns A compressed and hexed version of the inputted string

ibex_bluesky_core.devices.dehex_and_decompress(value: bytes) bytes[source]

Decompresses the inputted string, assuming it is in hex encoding.

Parameters:

value – The string to be decompressed, encoded in hex

Returns A decompressed version of the inputted string

ibex_bluesky_core.devices.get_pv_prefix() str[source]

Return the PV prefix for the current instrument.

ibex_bluesky_core.devices.isis_epics_signal_rw(datatype: Type[T], read_pv: str, name: str = '') SignalRW[T][source]

Make a RW signal with ISIS’ PV naming standard ie. read_pv as TITLE, write_pv as TITLE:SP.