data_baseIOLoaderDumperload

load

data_base.IO.LoaderDumper.load(savedir, load_data=True, loader_kwargs={})

Standard interface to load data.

Loads the data’s respective Loader in the same directory as the data. Uses this Loader to load the data

Parameters:
  • savedir (str) – Path to the data

  • load_data (bool) – Whether to load the data (default), or just the Loader object. Useful for debugging purposes.

  • loader_kwargs (dict) – Additional keyword arguments for the loader. Note that the Loader.json file should in principle contain all necessary information.

Returns:

The loaded object: either the data, or the Loader object.

Return type:

object