jTWA.util

jTWA.util#

jTWA.util comprises read and write functionality of observables.

jTWA.util.write_data(obs, cfg)#

Write the computed observables to a pickle file in the dictionary that is specified in cfg.

Args:
  • obs: A dictionary holding all observables that are to be stored.

  • cfg: The dictionary that contains the settings of the current run, including the working directory.

jTWA.util.read_data(cfg)#

Read the observables that are stored in the specified folder within cfg in pickle format.

Args:
  • cfg: The dictionary that contains the settings of the current run, including the working directory.

Returns:
  • obs: The dictionary of stored observables.