Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for calculation of circular and annular detectors #23

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

sezelt
Copy link
Member

@sezelt sezelt commented Aug 9, 2024

This fixes a bug where circular and annular detectors would be computed incorrectly due to a coordinate system mismatch. This also adds a mask debugging mode which is accessed by setting MASK_DEBUG in the environment variables and shows the generated mask (this only applies for detectors that operate using a mask–pointwise and rectangular detectors use slicing for better performance).

@sezelt sezelt merged commit 329ccf7 into py4dstem:dev Aug 9, 2024
1 check passed
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