dodal.devices.current_amplifiers.CurrentAmp#
- class dodal.devices.current_amplifiers.CurrentAmp[source]#
- Base class for current amplifier, it contains the minimal functionality
a current amplifier needs:
- gain_conversion_table#
The conversion table between current
- Type:
Enum
- and gain setting.
Methods
decrease_gain
([value])Decrease gain, decrement by 1 by default.
get_gain
()Get the current gain setting
Get the lower limit of the current amplifier
Get the upper limit of the current amplifier
increase_gain
([value])Increase gain, increment by 1 by default.
Attributes
- abstract get_gain() type[Enum] [source]#
Get the current gain setting
- Returns:
The member name of the current gain setting in gain_conversion_table.
- Return type:
Enum