Adapt 'wave' to new h5 file format
This commit is contained in:
parent
5c5be065be
commit
df9607ceb9
@ -102,9 +102,9 @@ def read_detector_data(filepath, cami_meta=None):
|
|||||||
|
|
||||||
scan["gamma"] = h5f["/entry1/ZEBRA/area_detector2/polar_angle"][:]
|
scan["gamma"] = h5f["/entry1/ZEBRA/area_detector2/polar_angle"][:]
|
||||||
scan["twotheta"] = h5f["/entry1/ZEBRA/area_detector2/polar_angle"][:]
|
scan["twotheta"] = h5f["/entry1/ZEBRA/area_detector2/polar_angle"][:]
|
||||||
scan["nu"] = h5f["/entry1/ZEBRA/area_detector2/tilt_angle"][0:1]
|
scan["nu"] = h5f["/entry1/ZEBRA/area_detector2/tilt_angle"][:1]
|
||||||
scan["ddist"] = h5f["/entry1/ZEBRA/area_detector2/distance"][0:1]
|
scan["ddist"] = h5f["/entry1/ZEBRA/area_detector2/distance"][:1]
|
||||||
scan["wave"] = h5f["/entry1/ZEBRA/monochromator/wavelength"][:]
|
scan["wave"] = h5f["/entry1/ZEBRA/monochromator/wavelength"][:1]
|
||||||
scan["chi"] = h5f["/entry1/sample/chi"][:]
|
scan["chi"] = h5f["/entry1/sample/chi"][:]
|
||||||
scan["phi"] = h5f["/entry1/sample/phi"][:]
|
scan["phi"] = h5f["/entry1/sample/phi"][:]
|
||||||
scan["ub"] = h5f["/entry1/sample/UB"][:].reshape(3, 3)
|
scan["ub"] = h5f["/entry1/sample/UB"][:].reshape(3, 3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user