pygsti.io.readers.read_data_from_dir

pygsti.io.readers.read_data_from_dir#

read_data_from_dir(dirname, preloaded_edesign=None, quick_load=False, comm=None)#

Load a ProtocolData from a directory on disk.

Parameters:
  • dirname (string) – Directory name.

  • preloaded_edesign (ExperimentDesign, optional) – The experiment design belonging to the to-be-loaded data object, in cases when this has been loaded already (only use this if you know what you’re doing).

  • quick_load (bool, optional) – Setting this to True skips the loading of components that may take a long time to load. This can be useful when this information isn’t needed and loading takes a long time.

  • comm (mpi4py.MPI.Comm, optional) – When not None, an MPI communicator used to synchronize file access.

Return type:

ProtocolData