dodal.devices.oav.oav_async.OAV#
- class dodal.devices.oav.oav_async.OAV[source]#
-
Methods
calculate_beam_distance
(horizontal_pixels, ...)Calculates the distance between the beam centre and the given (horizontal, vertical).
Attributes
- async calculate_beam_distance(horizontal_pixels: int, vertical_pixels: int) tuple[int, int] [source]#
Calculates the distance between the beam centre and the given (horizontal, vertical).
- Parameters:
- Return type:
- Returns:
The distance between the beam centre and the (horizontal, vertical) point in pixels as a tuple (horizontal_distance, vertical_distance).