dodal.devices.zocalo.zocalo_results#

Classes

SortKeys

XrcResult

ZocaloResults

An ophyd device which can wait for results from a Zocalo job.

Functions

bbox_size(result)

param result:

get_processing_result(zocalo)

A minimal plan which will extract the top ranked xray centre and crystal bounding box size from the zocalo results.

Exceptions

NoResultsFromZocalo

NoZocaloSubscription

dodal.devices.zocalo.zocalo_results.bbox_size(result: XrcResult)[source]#
Parameters:

result (XrcResult)

dodal.devices.zocalo.zocalo_results.get_processing_result(zocalo: ZocaloResults) Generator[Any, Any, Tuple[ndarray, ndarray] | Tuple[None, None]][source]#

A minimal plan which will extract the top ranked xray centre and crystal bounding box size from the zocalo results. Returns (None, None) if no crystals were found.

Parameters:

zocalo (ZocaloResults)

Return type:

Generator[Any, Any, Union[Tuple[ndarray, ndarray], Tuple[None, None]]]