Skip to content

Conversation

@saransh13
Copy link
Member

fix pinhole corrections for edge cases. All variables for PXRDIP and TARDIS should be same now. No special treatment of PXRDIP data needed.

…TARDIS should be same now. No special treatment of PXRDIP data needed.
@saransh13 saransh13 requested a review from psavery November 7, 2024 18:11
@codecov
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 39.10%. Comparing base (8c669ab) to head (d96f41f).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
hexrd/xrdutil/phutil.py 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #727      +/-   ##
==========================================
- Coverage   39.11%   39.10%   -0.01%     
==========================================
  Files         135      135              
  Lines       22168    22171       +3     
==========================================
  Hits         8670     8670              
- Misses      13498    13501       +3     

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

@saransh13
Copy link
Member Author

@psavery This should solve our problem of having different eta angles for PXRDIP and TARDIS in the rygg pinhole correction functions. Can you please review?

use `np.isclose` instead of `==`

Co-authored-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.

I had one last change requested, but I'll go ahead and approve too.

Co-authored-by: Patrick Avery <[email protected]>
@saransh13 saransh13 merged commit 6213ab6 into master Nov 13, 2024
6 of 7 checks passed
@psavery psavery deleted the pinhole-correction-fix branch December 2, 2024 21:27
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