experimentsimio.py

This module contains functions for saving/loading the results of simulated experiments with virtual sensor arrays.

save_exp_sim_data(save_file, exp_data)[source]

Saves the results of a simulated experiment to disk.

Parameters:
  • save_file (Path) – Path including file name to where the simulated experiment data should be saved.

  • exp_data (dict[tuple[str,...],np.ndarray]) – The simulated experiment data dictionary to save.

load_exp_sim_data(load_file)[source]

Loads the results of a simulated experiment from disk.

Parameters:

load_file (Path) – Path and file name for the file where the data should be loaded from.

Returns:

dict[tuple[str,...],np.ndarray] – The simulated experiment data dictionary loaded from disk.