[GH2][Correct] Gain constant needs to be float32
- Feb 19, 2023
-
-
bd593655
-
- Feb 10, 2023
-
-
Karim Ahmed authored6a963304
-
This fixes the reported issue at https://redmine.xfel.eu/issues/147905
Corrections were failing because the Cython correction function expected float32 constants. As the gain constant was injected as float64, I made sure that the gain constant is converted to the right type before being used for correction.
Marco was also notified and he will make sure that notebook is injecting gain constant of the expected type.
Tested locally and hotfixed in production