darfix.core.data_selection.load_process_data#

darfix.core.data_selection.load_process_data(filenames, root_dir=None, in_memory=True, dark_filename=None, copy_files=True, isH5=False, title='', metadata_url=None)[source]#

Loads data from filenames. If filenames is:

  • a str: consider it as a file pattern (for EDF files).

  • an iterable: consider a list of EDF files.

  • a DataUrl: consider it readable by silx get_data function

Parameters:
  • filenames (Union[str, Iterable[str], DataUrl]) – filenames to be loaded.

  • metadata_url – path to the scan metadata for HDF5 containing positioner information in order to load metadata for non-edf files

  • root_dir (Optional[str])

  • in_memory (bool)

  • dark_filename (Union[str, DataUrl, None])

  • copy_files (bool)

  • isH5 (bool)

  • title (str)