-
Notifications
You must be signed in to change notification settings - Fork 19
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
Panel pedestal does not work? #108
Comments
Perhaps this is at fault Lines 770 to 772 in d95a922
Should be need_pedestal_map = true; ?
|
I note also that the format classes that use a pedestal (typically |
Another point: the code here only allows for strictly positive pedestal maps. But for some detectors in electron diffraction there may be negative bias in the images. I would therefore like to add a uniform positive value to the images, with the value chosen by the user. The The alternative, modifying the behaviour of |
There is no need for two boolean flags. Each panel's pedestal must be checked (so cannot break the loop) and if any pedestal is significantly non-zero then a full pedestal map must be created. This also now allows for negative pedestal maps. Fixes #108
I've just come across the panel pedestal attribute. This seems to be a fairly recent innovation (this year at least: f96a16d) but as far as I can tell it does not work.
The "pedestal" should be subtracted as a dark image here:
dxtbx/imageset.h
Lines 680 to 685 in d95a922
however, even if
panel.pedestal
is set to something non-zero, this block is never called becausep.size() == 0
.The text was updated successfully, but these errors were encountered: