dodal.devices.undulator.UndulatorInMm#

class dodal.devices.undulator.UndulatorInMm[source]#

An Undulator-type insertion device, used to control photon emission. This class expects gap [mm] passed in set method.

Parameters:
  • prefix (str)

  • poles (int, optional)

  • length (float, optional)

  • undulator_period (int, optional)

  • baton (optional)

  • name (str, optional)

  • prefix – PV prefix

  • poles – Number of magnetic poles built into the undulator

  • length – Length of the undulator in meters

  • undulator_period – Undulator period

  • baton – Baton object if provided.

  • name – Name for device. Defaults to “”.

Methods

set(value)

Check conditions and Set undulator gap to a given value in mm

Attributes

set(value: float)[source]#

Check conditions and Set undulator gap to a given value in mm

Parameters:

value (float) – value in mm