lab_driver.charac_common#

Module Contents#

Classes#

API#

class lab_driver.charac_common.CharacterizationCommon[source]#

Initialization

Common class with functions used in all characterisation methods

static dummy_beep() None[source]#

Function for bypassing the beep on DAQ device

Returns:

None

static dummy_reset() None[source]#

Function for bypassing the device reset

Returns:

None

dummy_get_stim_value() float | int[source]#

Function for getting the input stimulation value

static dummy_set_mux(chnl: int) None[source]#

Function for bypassing the definition of the multiplexer stage

Parameters:

chnl – Integer with MUX number

Returns:

None

static dummy_set_dut_dac(chnl: int, data: int) None[source]#

Function for bypassing the definition of the DAC output

Parameters:
  • chnl – Integer with DAC number

  • data – Integer with DAC data

Returns:

None

static dummy_get_dut_adc(chnl: int) int[source]#

Function for bypassing the definition of the ADC output

Parameters:
  • chnl – Integer with DAC number

  • data – Integer with DAC data

Returns:

None

static dummy_get_daq() float[source]#

Function for bypassing the definition of the DAQ measurement device

Returns:

Floating value in range of [-1, +1]

static dummy_set_daq(val: float) None[source]#

Function for bypassing the definition of the DAQ measurement device

Returns:

Floating value in range of [-1, +1]

save_results(file_name: str, settings: object, data: dict, folder_name: str) None[source]#

Function for saving the measured data in numpy format

Parameters:
  • file_name – Name of file to save (without extension)

  • settings – Class with settings

  • data – Dictionary with results from measurement

  • folder_name – Name of folder where results will be saved

Returns:

None