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

Modified pinhole area correction #788

Merged
merged 5 commits into from
Apr 2, 2025
Merged

Conversation

saransh13
Copy link
Member

Overview

An error was discovered in the pinhole area correction based on the CeO2 data recorded on TARDIS. An extra sec(beta) factor was added to the correction published in Rygg et al., Rev. Sci. Instrum. 91, 043902 (2020). This PR makes that change.

Another small modification was made to use the existing functionality in the transforms module to compute the beta angles. This streamlines the function.

@saransh13 saransh13 requested a review from psavery April 1, 2025 17:54
psavery added 2 commits April 2, 2025 13:57
This answer is much better and is now the expected answer.

Signed-off-by: Patrick Avery <[email protected]>
This is easier to work with when we want to change the `bvec`.

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

@psavery psavery left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.37%. Comparing base (9ecd34a) to head (e140b68).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #788      +/-   ##
==========================================
+ Coverage   48.36%   48.37%   +0.01%     
==========================================
  Files         143      143              
  Lines       22863    22866       +3     
==========================================
+ Hits        11057    11061       +4     
+ Misses      11806    11805       -1     

☔ 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.

@saransh13 saransh13 merged commit f458354 into master Apr 2, 2025
7 checks 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.

2 participants