lab_driver.process.mxo4x#

Module Contents#

Functions#

load_spectral_data

Function for loading the csv files of spectrum analysis from R&S MXO44

load_fra_data

Function for loading the csv files of Frequency Response Analysis (FRA) from R&S MXO44

load_transient_data

API#

lab_driver.process.mxo4x.load_spectral_data(path: str, file_name: str, begin_line: int = 33) dict[source]#

Function for loading the csv files of spectrum analysis from R&S MXO44

Parameters:
  • path – path to csv file

  • file_name – name of csv file

  • begin_line – Integer of starting line to extract information from csv

Returns:

Dictionary with results [keys: ‘f’: frequency, ‘Y’: spectral info]

lab_driver.process.mxo4x.load_fra_data(path: str, file_name: str, begin_line: int = 2) dict[source]#

Function for loading the csv files of Frequency Response Analysis (FRA) from R&S MXO44

Parameters:
  • path – path to csv file

  • file_name – name of csv file

  • begin_line – Integer of starting line to extract information from csv

Returns:

Dictionary with results [keys: ‘f’: frequency, ‘gain’: amplitude, ‘phase’: phase information]

lab_driver.process.mxo4x.load_transient_data(path: str, file_name: str, freq_ref: float) dict[source]#