-
Notifications
You must be signed in to change notification settings - Fork 46
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
dials.generate_mask trusted_range bug #978
Comments
Probable culprit Lines 144 to 145 in 9780dfd
|
Good spot. Suspect that this was an attempt in $past to find and mask hot pixels. Ouch. |
Verified bug but pointy finger of blame misplaced... |
|
Loop is efficient for single-panel detectors and resolves the issue as published. Will be expensive for large image sets but that is the expected behaviour I would expect. Could do with refactoring for multi-panel detectors as the loop is inside out.
Branched to |
We should discuss how this interacts with multi-panel detectors. Also for large image sets could have better way of doing this e.g. with random sampling? |
I don't understand - I still see the same behaviour with the test case above while on the trusted-pixel-range-mask branch. |
I had old |
The behaviour of
dials.generate_mask
appears to be to combine untrusted area definitions with the untrusted_range
mask of the first image of a sequence. This causes overloaded spots on image 1 to be persistently masked throughout a dataset, like a flash burn. This example makes it obvious:Now see the strong pixels from the first image masked throughout the whole dataset:
The text was updated successfully, but these errors were encountered: