elasticai.hw_measurements.template.amp#

Module Contents#

Classes#

Functions#

API#

class elasticai.hw_measurements.template.amp.TestHandlerAmplifier(com_sets: elasticai.hw_measurements.DriverPort = DriverPortIES, en_debug: bool = False, only_plot: bool = False)[source]#

Initialization

Class for handling the test routine of an electronic amplifier stage

Parameters:
  • com_sets – Class with COM-Ports of laboratory devices

  • en_debug – Boolean for enabling debugging mode (without DAQ system) (default=False)

  • only_plot – Boolean for plotting mode (default=False)

get_overview_folder() list[source]#

Function to get an overview of available numpyz files

run_transfer_test(chnnl_num: int) dict[source]#

Function for running the ADC test on DUT device

Returns:

Dictionary with [‘stim’: DAC input stream, ‘settings’: Settings, ‘ch’: DAQ results with ‘val’ and ‘std’]

plot_results_from_measurement(results: dict) None[source]#

Function for plotting the ADC test results

Parameters:

results – Dictionary from measurement

Returns:

None

plot_results_from_file(path2file: str) None[source]#

Function for plotting the ADC test results

Parameters:

path2file – String with path to file

Returns:

None

elasticai.hw_measurements.template.amp.run_test() None[source]#