From ce29424340dd19194f561e3fe1ff95f7421067f2 Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Thu, 5 Jan 2023 16:13:45 +0100 Subject: [PATCH] Fix up GH2 correction --- src/calng/corrections/Gotthard2Correction.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calng/corrections/Gotthard2Correction.py b/src/calng/corrections/Gotthard2Correction.py index 21a14c86..d48ab4fe 100644 --- a/src/calng/corrections/Gotthard2Correction.py +++ b/src/calng/corrections/Gotthard2Correction.py @@ -33,6 +33,9 @@ class CorrectionFlags(enum.IntFlag): class Gotthard2CpuRunner(base_kernel_runner.BaseKernelRunner): + _gpu_based = False + _xp = np + def __init__( self, pixels_x, @@ -69,7 +72,7 @@ class Gotthard2CpuRunner(base_kernel_runner.BaseKernelRunner): self.processed_data = None # will just point to buffer we're given @property - def input_data_views(self): + def preview_data_views(self): return (self.input_data, self.processed_data) def load_data(self, image_data, input_gain_stage): -- GitLab