From 00e22a94ef18d919cf3945d9c3a18b6a190dadf8 Mon Sep 17 00:00:00 2001 From: Mathieu Doucet Date: Tue, 26 Nov 2024 17:03:17 -0500 Subject: [PATCH] read offset --- RefRed/reduction/global_reduction_settings_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RefRed/reduction/global_reduction_settings_handler.py b/RefRed/reduction/global_reduction_settings_handler.py index d9e47a70..216b60b5 100644 --- a/RefRed/reduction/global_reduction_settings_handler.py +++ b/RefRed/reduction/global_reduction_settings_handler.py @@ -32,8 +32,8 @@ def retrieve_settings(self): "scaling_factor_flag": self.parent.ui.scalingFactorFlag.isChecked(), "scaling_factor_file": str(self.parent.full_scaling_factor_file_name), "slits_width_flag": True, - "angle_offset": 0, - "angle_offset_error": 0, + "angle_offset": float(self.parent.ui.angleOffsetValue.text()), + "angle_offset_error": float(self.parent.ui.angleOffsetError.text()), "tof_steps": float(self.parent.ui.eventTofBins.text()), "apply_normalization": self.parent.ui.useNormalizationFlag.isChecked(), "dead_time": self.parent.deadtime_settings, # an instance of `DeadTimeSettingsModel`