mahos.inst.pd.AnalogPD#
- class mahos.inst.pd.AnalogPD(name, conf, prefix=None)#
Generic Photo Detector based on DAQ AnalogIn with fixed amplifier gain and unit.
- Parameters:
line (str) – DAQ’s physical channel for AnalogIn.
buffer_size (int) – (default: 10000) Software buffer (queue) size.
unit (str) – (default: V) unit after conversion.
gain (float) – (default: 1.0) the fixed gain in [unit] / V. Example) when a transimpedance amp with 1000 V / A is used for a photo diode and the unit is ‘A’, gain should be set 1000.
- __init__(name, conf, prefix=None)#
Methods
__init__
(name, conf[, prefix])get
(key[, args, label])Get an instrument setting or measurement data.
read_on_demand
([oversample])Read out analog voltages on demand.
set
(key[, value, label])Set an instrument setting or commanding value.