Fix magnitude of the resulting UB matrix

This commit is contained in:
2020-12-16 15:11:14 +01:00
parent b7ac6d4359
commit f694249298

View File

@@ -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: