sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.56k stars 2.12k forks source link

binned detector height incorrectly rounded to 94 (from 96.3) for 5x5 binning #7100

Closed asproutagus closed 4 years ago

asproutagus commented 4 years ago

Bug Description Using the EMSPHINX wizard in version 0.2 to index a scan taken with 5x5 binning causes the binned detector width (taken from the up2 file) to be rounded up from 93.6 pix to 94 pix. This value is unable to be changed (the box is grayed out in the software), so the rounded (incorrect) binned detector width propagates throughout the other calculation steps; the unbinned detector width is calculated to be 470 (94 5) when in fact the real value should be 468 (93.6 5). This ultimately results in incorrect pattern center values, which causes the final re-indexed scan to be entirely black despite the fact that the raw confidence indices (when the scan was originally taken) had an average value of 0.5. Fiddling with the pattern center values will get SOME color to show up in the reindexed png, but it's very noisy and still full of black spots.

Screenshots

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5

Environment info

tk0miya commented 4 years ago

Sorry, but I think you're posting a issue to wrong project. This is Sphinx; the "document generator". I guess corrrect project might be here: https://github.com/EMsoft-org/EMSphInx