dodal.devices.beamlines.i15_1.attenuators.SlowAttenuator#

class dodal.devices.beamlines.i15_1.attenuators.SlowAttenuator[source]#

A device to change the attenuation of the beam.

This can be done by doing:

>>> bps.mv(slow_attenuator, SlowAttenuatorPositions.TRANS_10)

Where 10 is the transmission in percent.

There are only a specific set of transmissions that can be selected. The allowed list can be found by doing list(AttenuatorPositions)

Parameters:
  • prefix (str)

  • name (str, default: '')

Methods

connect(*args, **kwargs)

set(value)

Change the transmission to the specified percentage.

Attributes

set(value: SlowAttenuatorPositions)[source]#

Change the transmission to the specified percentage.

Will raise ValueError if the percentage is not possible.

Parameters:

value (SlowAttenuatorPositions)