-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dlsnxs2cbf: produces invalid files from i04-1 Eiger 9M #712
Comments
NeXus file contains the right values:
|
is in the f-string => I would expect this to be correct - (data,) = dxtbx.nexus.get_raw_data(nxdata, nxdetector, j) => can start from there |
🤨 15 minutes in and already at the "how did this ever work" and "how even does dials work?" phase of the process |
|
This does not go through the usual |
# dxtbx requires image size in the order fast, slow - which is the reverse of what
# is stored in module.data_size. Additionally, data_size can have more than 2
# dimensions, for multi-module detectors. So take the last two dimensions and reverse
# them. Examples:
# [1,2,3] --> (3, 2)
# [1,2] --> (2, 1)
image_size = (int(module.data_size[-1]), int(module.data_size[-2])) deep sustained sighing sounds |
To confirm: the dxtbx view of image size is indeed, fast, slow
|
Looks like the module dimensions contain much weirdness, if I squash all references to the module slices it creates correct CBF files Looking at #712 Do not expect to merge
OK, there are some definite sources of doubt and uncertainty surrounding the module shape - switch or not to switch? If commented out, we create CBF files which contain
Dectris say (W x H) 3,108 x 3,262 which is consistent |
With changes herein XDS is a very happy camper => need to understand why we are doing this. @phyy-nx we (@benjaminhwilliams and I) note you have recently been exploring some of this terrain and may hold opinions. What we have at the moment is comprehensively wrong |
This nerdsniped me big time at the end of the day :) Working through my thought process:
I'll stop here and await answers. Note, I have an active DLS account if you want to DM me a file path! |
These dimensions are wrong:
indicated by
The text was updated successfully, but these errors were encountered: