lab_driver.charac_amp
#
Module Contents#
Classes#
Class with settings for testing an electrical amplifier stage (DUT) Attributes: system_id: String with system name or ID vss: Floating with minimal applied voltage vdd: Floating with maximal applied voltage test_rang: List with [min, max] analog ranges for amplifier (like: [-5.0, +5.0]) daq_ovr: Integer number for oversampling of DAQ system num_rpt: Integer of completes cycles to run DAQ delta_steps: Float of intermediate steps in changing values sleep_sec: Sleeping seconds between each DAQ setting |
|
Data#
API#
- class lab_driver.charac_amp.SettingsAmplifier[source]#
Class with settings for testing an electrical amplifier stage (DUT) Attributes: system_id: String with system name or ID vss: Floating with minimal applied voltage vdd: Floating with maximal applied voltage test_rang: List with [min, max] analog ranges for amplifier (like: [-5.0, +5.0]) daq_ovr: Integer number for oversampling of DAQ system num_rpt: Integer of completes cycles to run DAQ delta_steps: Float of intermediate steps in changing values sleep_sec: Sleeping seconds between each DAQ setting
- system_id: str#
None
- vss: float#
None
- vdd: float#
None
- test_rang: list#
None
- daq_ovr: int#
None
- num_rpt: int#
None
- delta_steps: float#
None
- sleep_sec: float#
None
- lab_driver.charac_amp.DefaultSettingsAmplifier#
‘SettingsAmplifier(…)’
- class lab_driver.charac_amp.CharacterizationAmplifier(folder_reference: str)[source]#
Bases:
lab_driver.charac_common.CharacterizationCommon
Initialization
Class for handling the measurement routine for characterising a Digital-Analog-Converter (DAC)
- Parameters:
folder_reference – String with source folder to find the Main Repo Path
- settings: lab_driver.charac_amp.SettingsAmplifier#
None
- run_test_transfer(chnl: int, func_mux, func_set_daq, func_sens, func_get_daq, func_beep) dict [source]#
Function for characterizing the transfer function of the Amplifier
- Parameters:
chnl – Integer number for testing the channel
func_mux – Function for defining the testmode of the hardware DUT with defining the channel (chnl)
func_set_daq – Function for applying selected voltage/current signal on DAQ with input params (data)
func_sens – Function for getting the applied voltage/current (sensing) from DAQ device
func_get_daq – Function for sensing the DUT-amplifier output from DAQ
func_beep – Function for do a beep in DAQ
- Returns:
Dictionary with [‘stim’: input test signal of one repetition, ‘settings’: Settings, ‘rpt
’: Test results]