dodal.devices.current_amplifiers.CurrentAmpDet#

class dodal.devices.current_amplifiers.CurrentAmpDet[source]#

CurrentAmpDet composed of a CurrentAmp and a CurrentAmpCounter. It provides the option for automatically changing the CurrentAmp gain to within the optimal range. It also converts the currentAmp/counter output back into the detector current output in Amp.

current_amp#

Current amplifier type device.

Type:

currentAmp

counter#

Counter that capture the current amplifier output.

Type:

CurrentAmpCounter

current#

Soft signal to store the corrected current.

Type:

SignalRW([float]

auto_mode#

Soft signal to store the flag for auto gain.

Type:

signalR([bool])

name#

Name of the device.

Type:

str

Parameters:

Methods

auto_gain()

get_corrected_current()

Convert the output (count and gain) back into the read detector output in Amp.

prepare(value)

read()

Read is modified so that if auto_mode is true it will optimise gain before taking the final reading.

stage()

unstage()

Attributes

async read() dict[str, Reading][source]#

Read is modified so that if auto_mode is true it will optimise gain before taking the final reading.

Return type:

dict[str, Reading]

async get_corrected_current() float[source]#

Convert the output (count and gain) back into the read detector output in Amp.

Return type:

float