mcstasscript.helper.managed_mcrun.load_monitor

mcstasscript.helper.managed_mcrun.load_monitor

mcstasscript.helper.managed_mcrun.load_monitor(metadata, data_folder_name)

Function that loads data given metadata and name of data folder

Loads data for single monitor and returns a McStasData object

Parameters
  • metadata (McStasMetaData object) – McStasMetaData object corresponding to the monitor to be loaded

  • data_folder_name (str) – path to folder from which metadata should be loaded