From cf4de1f33a3d6cccaae530ffe05fc41e19554e2c Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Tue, 7 Jun 2022 15:41:20 +0200 Subject: [PATCH] Exclude trains with flag=0 from output file for LPD --- notebooks/LPD/LPD_Correct_Fast.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb index 75584fe92..31549c9da 100644 --- a/notebooks/LPD/LPD_Correct_Fast.ipynb +++ b/notebooks/LPD/LPD_Correct_Fast.ipynb @@ -388,7 +388,7 @@ " module_index = int(aggregator[-2:])\n", " \n", " start = perf_counter()\n", - " dc = xd.H5File(inp_path).select('*', 'image.*', require_all=True)\n", + " dc = xd.H5File(inp_path, inc_suspect_trains=False).select('*', 'image.*', require_all=True)\n", " inp_source = dc[input_source.format(karabo_id=karabo_id, module_index=module_index)]\n", " open_time = perf_counter() - start\n", " \n", -- GitLab