pytrnsys_process.api.load_simulations_data_from_pickle#
- pytrnsys_process.api.load_simulations_data_from_pickle(path: ~pathlib.Path, logger: ~logging.Logger = <Logger default_pytrnsys_process (WARNING)>) SimulationsData[source]#
Load ResultsForComparison data from a pickle file.
This function loads a previously saved ResultsForComparison object from a pickle file.
- Parameters:
path – Path to the pickle file to load
logger – Logger object that will log any messages, warnings, and/or errors
- Returns:
SimulationsData – Reconstructed SimulationsData object
- Return type:
pytrnsys_processing.data_structures.SimulationsData- Raises:
OSError – If there’s an error reading the file:
pickle.UnpicklingError – If the file is corrupted or invalid: