Saving/loading

This page contains a listing of all functions to load and save .pssession and .psmethod files.

pypalmsens

Functions:

load_method_file

load_method_file(path, as_method=False)

Load a method file (.psmethod).

Parameters:

  • path (Path | str) – Path to method file

  • as_method (bool) – If True, load as method wrapper object

Returns:

  • method (Parameters) – Return method parameters

load_session_file

load_session_file(path)

Load a session file (.pssession).

Parameters:

  • path (Path | str) – Path to session file

Returns:

  • measurements (link:#list[link:#pypalmsens._data.measurement.Measurement]) – Return list of measurements

save_method_file

save_method_file(path, method)

Load a method file (.psmethod).

Parameters:

  • path (Path | str) – Path to save the method file

  • method (Method) – Method to save

save_session_file

save_session_file(path, measurements)

Load a session file (.pssession).

Parameters:

  • path (Path | str) – Path to save the session file

  • measurements (link:#list[link:#pypalmsens._data.measurement.Measurement]) – List of measurements to save