Skip to content

Conversation

@psavery
Copy link
Collaborator

@psavery psavery commented Sep 24, 2025

The areas can be negative if the beam vector is in the opposite direction from which HEXRD would normally expect it (HEXRD normally expects a negative Z beam vector).

The powder picking code was assuming the areas are positive. Take the absolute value to ensure that is the case. This fixes automatic point picking for positive beam vectors.

The areas can be negative if the beam vector is in the opposite
direction from which HEXRD would normally expect it (HEXRD normally
expects a negative Z beam vector).

The powder picking code was assuming the areas are positive. Take
the absolute value to ensure that is the case. This fixes automatic
point picking for positive beam vectors.

Signed-off-by: Patrick Avery <[email protected]>
@codecov
Copy link

codecov bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.95%. Comparing base (24211d1) to head (0492494).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #841   +/-   ##
=======================================
  Coverage   48.95%   48.95%           
=======================================
  Files         143      143           
  Lines       22071    22072    +1     
=======================================
+ Hits        10805    10806    +1     
  Misses      11266    11266           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@saransh13 saransh13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psavery psavery merged commit 8115f87 into master Sep 24, 2025
6 of 7 checks passed
@psavery psavery deleted the positive-areas branch September 24, 2025 16:14
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.

3 participants