Closed Junschen1 closed 5 months ago
Hi @Junschen1 thanks for the pull request. It seems like this finds the largest value over all images, but also sets a 20x20 window around the primary beam to 1.
I just pushed a similar change yesterday: https://github.com/instamatic-dev/instamatic/pull/82
Could you see if that works for you?
I'm going to close this because of inactivity, feel free to re-open to update the PR.
Find the position of the strongest central spot and subtract its intensity to further determine the brightness of the strongest diffraction point