Fix typos in h5 paths

Closes #1
This commit is contained in:
usov_i 2020-03-31 11:08:49 +02:00
parent 0e495b60cd
commit a7ae19c5c3

View File

@ -49,9 +49,9 @@ def read_detector_data(filepath):
tlt_angle = h5f["/entry1/ZEBRA/area_detector2/tilt_angle"][:] # nud tlt_angle = h5f["/entry1/ZEBRA/area_detector2/tilt_angle"][:] # nud
ddist = h5f["/entry1/ZEBRA/area_detector2/distance"][:] ddist = h5f["/entry1/ZEBRA/area_detector2/distance"][:]
wave = h5f["/entry1/ZEBRA/monochromator/wavelength"][:] wave = h5f["/entry1/ZEBRA/monochromator/wavelength"][:]
chi_angle = h5f["/entry1/ZEBRA/sample/chi"][:] # ch chi_angle = h5f["/entry1/sample/chi"][:] # ch
phi_angle = h5f["/entry1/ZEBRA/sample/chi"][:] # ph phi_angle = h5f["/entry1/sample/phi"][:] # ph
UB = h5f["/entry1/ZEBRA/sample/UB"][:] UB = h5f["/entry1/sample/UB"][:]
return detector_data,pol_angle,rot_angle,tlt_angle,chi_angle,phi_angle,ddist,wave,UB return detector_data,pol_angle,rot_angle,tlt_angle,chi_angle,phi_angle,ddist,wave,UB