dodal.devices.oav.oav_detector.OAVBeamCentreFile#

class dodal.devices.oav.oav_detector.OAVBeamCentreFile[source]#

OAV device that reads its beam centre values from a file. The config parameter must be a OAVConfigBeamCentre object, as this contains a filepath to where the beam centre values are stored.

x_direction(int): Should only be 1 or -1, with 1 indicating the oav x direction is the same with motor x y_direction(int): Same with x_direction but for motor y z_direction(int): Same with x_direction but for motor z mjpg_x_size_pv(str): PV infix for x_size in mjpg mjpg_y_size_pv(str): PV infix for y_size in mjpg

Parameters:
  • prefix (str)

  • config (OAVConfigBeamCentre)

  • name (str, default: '')

  • mjpeg_prefix (str, default: 'MJPG')

  • zoom_controller (BaseZoomController | None, default: None)

  • mjpg_x_size_pv (str, default: 'ArraySize1_RBV')

  • mjpg_y_size_pv (str, default: 'ArraySize2_RBV')

  • x_direction (int, default: -1)

  • y_direction (int, default: -1)

  • z_direction (int, default: 1)

Methods

Attributes

beam_centre_i

beam_centre_j