Skip to content

some extra operations were being performed. The results should be identical - #961

Merged
psavery merged 1 commit into
masterfrom
cylindrical-detector-improvement
Aug 13, 2026
Merged

some extra operations were being performed. The results should be identical#961
psavery merged 1 commit into
masterfrom
cylindrical-detector-improvement

Conversation

@saransh13

Copy link
Copy Markdown
Member

An extra quantity was computed for determining the x-coordinate. However, that is not needed. The extra operation just results in dot product of two orthogonal vectors, which evaluates to zero. Removing that extra step.

@saransh13
saransh13 requested a review from psavery August 13, 2026 17:37
@saransh13 saransh13 added the LLNL HED science related instruments label Aug 13, 2026
@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.58%. Comparing base (a34f79e) to head (bec039b).

Files with missing lines Patch % Lines
hexrd/hed/xrdutil/utils.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #961   +/-   ##
=======================================
  Coverage   73.57%   73.58%           
=======================================
  Files         148      148           
  Lines       22943    22941    -2     
=======================================
- Hits        16881    16880    -1     
+ Misses       6062     6061    -1     

☔ View full report in Codecov by Harness.
📢 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.

@psavery
psavery merged commit 802b0a3 into master Aug 13, 2026
10 checks passed
@psavery
psavery deleted the cylindrical-detector-improvement branch August 13, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LLNL HED science related instruments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants