Reshape UB matrix on read

This commit is contained in:
usov_i 2020-03-31 11:58:26 +02:00
parent 047af1b9f1
commit f2fad95339

View File

@ -53,7 +53,7 @@ def read_detector_data(filepath):
det_data["wave"] = h5f["/entry1/ZEBRA/monochromator/wavelength"][:]
det_data["chi_angle"] = h5f["/entry1/sample/chi"][:] # ch
det_data["phi_angle"] = h5f["/entry1/sample/phi"][:] # ph
det_data["UB"] = h5f["/entry1/sample/UB"][:]
det_data["UB"] = h5f["/entry1/sample/UB"][:].reshape(3,3)
return det_data