From f694249298f0dab6f7cd6787642ce540445b292d Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Wed, 16 Dec 2020 15:11:14 +0100 Subject: [PATCH] Fix magnitude of the resulting UB matrix --- pyzebra/app/panel_spind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzebra/app/panel_spind.py b/pyzebra/app/panel_spind.py index d0625e3..4ad918a 100644 --- a/pyzebra/app/panel_spind.py +++ b/pyzebra/app/panel_spind.py @@ -80,7 +80,7 @@ def create(): # last 9 digits are spind UB matrix vals = list(map(float, line.split()[-9:])) ub_matrix_spind = np.array(vals).reshape(3, 3) - ub_matrix = np.linalg.inv(np.transpose(ub_matrix_spind)) + ub_matrix = np.linalg.inv(np.transpose(ub_matrix_spind)) * 1e10 full_out = full_out + str(ub_matrix) output_textarea.value = full_out except FileNotFoundError: