spinqick.helper_functions.analysis

Functions for analyzing data.

Attributes

logger

Functions

analyze_conductance(data)

Calculate data magnitude from acquire function output.

analyze_transconductance(data)

Calculate transconductance from acquire function output.

thresh_psb(data, threshold)

Threshold data.

interpret_data_psb(data[, diff, thresh])

Take magnitude of data, take difference between singlet and triplet data and threshold if

calculate_conductance(data, adc_conversion[, ...])

Calculates conductance from raw data and saves on the analyzed_data attribute.

calculate_transconductance(data, adc_conversion)

Calculates transconductance from raw data and saves on the analyzed_data attribute.

calculate_electron_temperature(data, plunger_gate)

Calculates the electron temperature from a 1D sweep over a loading line.

fit_blobs(data[, n_components])

Fits gaussian mixture models to integrated measurements.

fit_gaussian(x_data, y_data)

Fit data to a gaussian.

fit_sigmoid(x_data, y_data)

Fit data to a sigmoid.

calculate_difference(data[, average_level])

Subtract reference measurement from actual data.

calculate_thresholded(data, threshold[, average_level])

Calculate thresholded 0 or 1 data from analyzed data and average after thresholding.

analyze_psb_standard(sq_data, adc_unit_conversions, ...)

Calculates conductance and if desired the thresholded data from a spinqick data object.

Module Contents

spinqick.helper_functions.analysis.logger
spinqick.helper_functions.analysis.analyze_conductance(data)

Calculate data magnitude from acquire function output.

Parameters:

data (List[numpy.ndarray])

spinqick.helper_functions.analysis.analyze_transconductance(data)

Calculate transconductance from acquire function output.

Parameters:

data (List[numpy.ndarray])

spinqick.helper_functions.analysis.thresh_psb(data, threshold)

Threshold data.

Parameters:
  • data (numpy.ndarray)

  • threshold (float)

spinqick.helper_functions.analysis.interpret_data_psb(data, diff=True, thresh=None)

Take magnitude of data, take difference between singlet and triplet data and threshold if needed.

spinqick.helper_functions.analysis.calculate_conductance(data, adc_conversion, average_level=None)

Calculates conductance from raw data and saves on the analyzed_data attribute.

Parameters:
spinqick.helper_functions.analysis.calculate_transconductance(data, adc_conversion)

Calculates transconductance from raw data and saves on the analyzed_data attribute.

Parameters:
spinqick.helper_functions.analysis.calculate_electron_temperature(data, plunger_gate)

Calculates the electron temperature from a 1D sweep over a loading line.

Parameters:
spinqick.helper_functions.analysis.fit_blobs(data, n_components=2)

Fits gaussian mixture models to integrated measurements.

Parameters:
  • data (numpy.ndarray)

  • n_components (int)

Return type:

tuple[numpy.ndarray, numpy.ndarray, numpy.ndarray]

spinqick.helper_functions.analysis.fit_gaussian(x_data, y_data)

Fit data to a gaussian.

spinqick.helper_functions.analysis.fit_sigmoid(x_data, y_data)

Fit data to a sigmoid.

Parameters:
  • x_data (numpy.ndarray)

  • y_data (numpy.ndarray)

spinqick.helper_functions.analysis.calculate_difference(data, average_level=None)

Subtract reference measurement from actual data.

Parameters:
spinqick.helper_functions.analysis.calculate_thresholded(data, threshold, average_level=None)

Calculate thresholded 0 or 1 data from analyzed data and average after thresholding.

Parameters:
spinqick.helper_functions.analysis.analyze_psb_standard(sq_data, adc_unit_conversions, reference, thresh, threshold, final_avg_lvl=spinqick_enums.AverageLevel.BOTH)

Calculates conductance and if desired the thresholded data from a spinqick data object.

Parameters: