ess.reduce.nexus.merge.plan_merge#

ess.reduce.nexus.merge.plan_merge(files, rules)[source]#

Check whether the runs in files can be merged.

Reads metadata, NXlogs, and pulse times only, not events.

Parameters:
  • files (Sequence[Path | str]) – The NeXus files of the runs, in any order.

  • rules (MergeRules) – Which differences between the runs prevent merging them.

Returns:

MergePlan – The runs in the order of their start times, and the issues found.