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

Fix map shape

parent a2a6ab3b
No related branches found
No related tags found
2 merge requests!12Snapshot: field test deployed version as of end of run 202201,!6Draft: add Jungfrau correction device
......@@ -71,7 +71,7 @@ class JungfrauGpuRunner(base_gpu.BaseGpuRunner):
# TODO: avoid superclass creating cell table with wrong dtype first
self.cell_table_gpu = cupy.empty(self.memory_cells, dtype=cupy.uint8)
self.input_gain_map_gpu = cupy.empty(self.input_shape, dtype=cupy.uint8)
self.map_shape = self.input_shape + (3,)
self.map_shape = (self.constant_memory_cells, self.pixels_y, self.pixels_x, 3)
# is jungfrau stuff gain mapped?
self.offset_map_gpu = cupy.zeros(self.map_shape, dtype=cupy.float32)
self.rel_gain_map_gpu = cupy.ones(self.map_shape, dtype=cupy.float32)
......
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