HEXRD / hexrd

A cross-platform, open-source library for the analysis of X-ray diffraction data.
Other
54 stars 26 forks source link

Invalidate sample layer past critical beta #635

Closed psavery closed 2 months ago

psavery commented 2 months ago

xy points on the detector past the critical beta have very high values and start appearing unrealistic. Just set any values to nan that are past the critical beta.

Note that we are not invalidating map values past the critical beta for now, because they actually appear okay when warping the polar view. This is because they move too far and disappear (which is actually what we want when warping to the polar view).

pep8speaks commented 2 months ago

Hello @psavery! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2024-04-19 18:13:27 UTC