dodal.devices.current_amplifiers.CurrentAmpCounter#

class dodal.devices.current_amplifiers.CurrentAmpCounter[source]#
Base class for current amplifier counter, it contain the minimal implementations

required for a counter/detector to function with CurrentAmpDet:

count_per_volt#

The conversion factor between counter output and voltage.

Type:

float

Parameters:
  • count_per_volt (float)

  • name (str, default: '')

Methods

get_count()

"Get count

get_count_per_sec()

Get count per second

get_voltage_per_sec()

Get count per second in voltage

prepare(value)

Prepare method for setting up the counter

Attributes

abstract async get_count() float[source]#

“Get count

Returns:

Current count

Return type:

float

abstract async get_count_per_sec() float[source]#

Get count per second

Returns:

Current count per second

Return type:

float

abstract async get_voltage_per_sec() float[source]#

Get count per second in voltage

Returns:

Current count in volt per second

Return type:

float

abstract prepare(value: float) None[source]#

Prepare method for setting up the counter

Parameters:

value (float)

Return type:

None