From fba98e894510a19d85e14131f139849a6fddf999 Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Wed, 26 Jan 2022 11:51:23 +0100 Subject: [PATCH] Don't transpose JF x/y for preview with extra_geom --- src/calng/JungfrauCorrection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calng/JungfrauCorrection.py b/src/calng/JungfrauCorrection.py index 0cbe7fc8..180e3a91 100644 --- a/src/calng/JungfrauCorrection.py +++ b/src/calng/JungfrauCorrection.py @@ -86,10 +86,10 @@ class JungfrauGpuRunner(base_gpu.BaseGpuRunner): self.correction_kernel = self.source_module.get_function("correct") def _get_raw_for_preview(self): - return self.input_data_gpu.transpose(0, 2, 1) + return self.input_data_gpu def _get_corrected_for_preview(self): - return self.processed_data_gpu.transpose(0, 2, 1) + return self.processed_data_gpu def load_data(self, image_data, input_gain_map, cell_table): """Experiment: loading all three in one function as they are tied""" -- GitLab