From 403a3ac98622d412616156273c899ca197b104e3 Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Tue, 10 Sep 2024 16:37:11 +0200 Subject: [PATCH] Don't add np.newaxis to pnCCD previews because they don't frameselect --- src/calng/corrections/PnccdCorrection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calng/corrections/PnccdCorrection.py b/src/calng/corrections/PnccdCorrection.py index 12353342..65fc76c5 100644 --- a/src/calng/corrections/PnccdCorrection.py +++ b/src/calng/corrections/PnccdCorrection.py @@ -332,8 +332,8 @@ class PnccdCpuRunner(base_kernel_runner.BaseKernelRunner): def _preview_data_views(self, raw_data, processed_data): return [ - raw_data[np.newaxis], - processed_data[np.newaxis], + raw_data, + processed_data, ] -- GitLab