pcdsdevices.attenuator.Attenuator

pcdsdevices.attenuator.Attenuator(prefix, n_filters, *, name, **kwargs)

A series of filters that attenuates the beam.

This is a factory function for instantiating a subclass of AttBase with the correct number of Filter components.

The Filter components will be named ‘filter1’, ‘filter2’, … ‘filter10’, …

Parameters:
  • prefix (str) – The EPICS prefix that identifies the attenuator, e.g. ‘XPP:ATT’

  • n_filters (int) – The number of filters in the attenuator.

  • name (str) – An identifying name for the attenuator.