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

Recompute CSR when detectorDistance changes

parent 0e37a889
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ class AzimuthalIntegrator(BaseCorrectionAddon): ...@@ -111,7 +111,7 @@ class AzimuthalIntegrator(BaseCorrectionAddon):
if self.full_geom is None: if self.full_geom is None:
# cannot do anything below yet # cannot do anything below yet
return return
if any(conf.has(key) for key in ("useGpu", "multiModule", "numBins")): if any(conf.has(key) for key in ("useGpu", "multiModule", "numBins", "detectorDistance")):
self._compute_bins() self._compute_bins()
EventLoop.post(self._initialize_integrator) EventLoop.post(self._initialize_integrator)
elif any(conf.has(key) for key in ("pixelsplittingFactor", "useGpu")): elif any(conf.has(key) for key in ("pixelsplittingFactor", "useGpu")):
......
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