dodal.devices.zebra#

Classes

Functions

boolean_array_to_integer(values)

Converts a boolean array to integer by interpretting it in binary with LSB 0 bit numbering.

dodal.devices.zebra.boolean_array_to_integer(values: list[bool]) int[source]#

Converts a boolean array to integer by interpretting it in binary with LSB 0 bit numbering.

Parameters:

values (List[bool]) – The list of booleans to convert.

Returns:

The interpretted integer.

Return type:

int