instamatic-dev / instamatic

Python program for automated electron diffraction data collection
https://instamatic.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
56 stars 25 forks source link

Scale method changed #83

Closed Junschen1 closed 5 months ago

Junschen1 commented 7 months ago

Find the position of the strongest central spot and subtract its intensity to further determine the brightness of the strongest diffraction point

stefsmeets commented 7 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?

stefsmeets commented 5 months ago

I'm going to close this because of inactivity, feel free to re-open to update the PR.