Skip to content
Snippets Groups Projects
Commit ce294243 authored by David Hammer's avatar David Hammer
Browse files

Fix up GH2 correction

parent 655562fd
No related branches found
No related tags found
3 merge requests!29Always use 352 memory cells for SlopesFF for AGIPD,!26Add CPU kernels for some big detectors,!21Draft: small JF tweaks from HED installation
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment