Skip to content

Conversation

@ercius
Copy link
Collaborator

@ercius ercius commented Dec 9, 2025

I previously used a square mask to reject electrons outside the central beam. This is not ideal. I thought that making a radial mask would be slow, but it turns out to be slightly faster per frame. I estimate about 4 seconds saved for a medium sized 1kx1k sparse dataset and a more accurate measurement. Win-win!

This needs to be tested before merging. Ill update when it looks good to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant