Skip to content
Snippets Groups Projects
Commit 0fd2913b authored by Egor Sobolev's avatar Egor Sobolev
Browse files

Use resolution/pixel size from geometry file

parent 85e752ca
No related branches found
No related tags found
1 merge request!1Add reading and writing mask in crystfel file
......@@ -159,7 +159,7 @@ def parse_crystfel_streamfile(stream_filename, panels, connected_groups,
])
hkl = np.array([re.h.values, re.k.values, re.l.values])
u, v, w = M.T @ hkl
s = clen / (1e-9 / lmd + w) / 200e-6
s = clen / (1e-9 / lmd + w) * res_avg
re['xa'] = u * s
re['ya'] = v * s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment