From 922ec3653e2606e0b04b105dd6471d679ec19b9c Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Tue, 7 Jun 2022 15:01:39 +0200 Subject: [PATCH] Exclude trains with <4 modules from LPD VCXI files --- 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 33e904a2e..75584fe92 100644 --- a/notebooks/LPD/LPD_Correct_Fast.ipynb +++ b/notebooks/LPD/LPD_Correct_Fast.ipynb @@ -619,7 +619,7 @@ " \n", " for seq_number, seq_output_paths in output_by_seq.items():\n", " # Create data collection and detector components only for this sequence.\n", - " det = LPD1M(xd.DataCollection.from_paths(seq_output_paths), detector_name=karabo_id)\n", + " det = LPD1M(xd.DataCollection.from_paths(seq_output_paths), detector_name=karabo_id, min_modules=4)\n", " det.write_virtual_cxi(vcxi_folder / f'VCXI-LPD-R{run:04d}-S{seq_number:05d}.cxi')" ] } -- GitLab