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]#

When filenames is a string, it will be treated as a file pattern.

Parameters:
  • filenames (Union[str, Iterable[str], DataUrl]) – filenames to be loaded. If filenames is a str then consider it as a file pattern (for EDF files). If is an iterable consider a list of EDF files. If this is a DataUrl expected it readable by silx get_data function

  • 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) –