dodal.devices.attenuator.Attenuator#

class dodal.devices.attenuator.Attenuator[source]#

The attenuator will insert filters into the beam to reduce its transmission.

This device should be set with:

yield from bps.set(attenuator, desired_transmission)

Where desired_transmission is fraction e.g. 0-1. When the actual_transmission is read from the device it is also fractional

Parameters:
  • prefix (str)

  • name (str, default: '')

Methods

set(transmission)

Set the transmission to the fractional (0-1) value given.

Attributes

set(transmission: float)[source]#

Set the transmission to the fractional (0-1) value given.

The attenuator IOC will then insert filters to reach the desired transmission for the current beamline energy, the set will only complete when they have all been applied.

Parameters:

transmission (float)