dodal.devices.undulator_dcm.UndulatorDCM#

class dodal.devices.undulator_dcm.UndulatorDCM[source]#

Composite device to handle changing beamline energies, wraps the Undulator and the DCM. The DCM has a motor which controls the beam energy, when it moves, the Undulator gap may also have to change to enable emission at the new energy. The relationship between the two motor motor positions is provided via a lookup table.

Calling unulator_dcm.set(energy) will move the DCM motor, perform a table lookup and move the Undulator gap motor if needed. So the set method can be thought of as a comprehensive way to set beam energy.

Parameters:
  • undulator (Undulator)

  • dcm (DCM)

  • id_gap_lookup_table_path (str)

  • daq_configuration_path (str)

  • prefix (str, default: '')

  • name (str, default: '')

Methods

set(value)

param value:

Attributes