EMsoft-org / EMSphInx

C++ Spherical Indexing repository
GNU General Public License v2.0
8 stars 20 forks source link

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

Open asproutagus opened 4 years ago

asproutagus commented 4 years ago

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 so that, for instance, 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 png 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 output png, but it's very noisy and still full of black spots.

Some screenshots:

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5

image

Thanks in advance for the help!

yinhao1501 commented 4 years ago

Hi, asproutagus. I'm very interesting about this program, but i didn't run the EMSPHINX wizard successfully. Could you give me some guidance about running the program. I think i can help you solve the above question.

yinhao1501 commented 4 years ago

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 so that, for instance, 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 png 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 output png, but it's very noisy and still full of black spots.

Some screenshots:

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5

image

Thanks in advance for the help! Hi, asproutagus. I'm very interesting about this program, but i didn't run the EMSPHINX wizard successfully. Could you give me some guidance about running the program. I think i can help you solve the above question.