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

Remove point selection from WPPF #719

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Sep 25, 2024

This removes the need to import matplotlib from the code.

Now, it expects the background points to have been pre-selected elsewhere,
and the background points is the single argument for the spline background
method.

Corresponding branch in the GUI: HEXRD/hexrdgui#1728

This removes the need to import matplotlib from the code.

Now, it expects the background points to have been pre-selected elsewhere,
and the background points is the single argument for the `spline` background
method.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
They have been used interchangeably with min/max. So make references
for code that uses either (for backward compatibility).

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 31.57895% with 13 lines in your changes missing coverage. Please review.

Project coverage is 37.37%. Comparing base (6540509) to head (38f199b).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
hexrd/wppf/WPPF.py 0.00% 8 Missing ⚠️
hexrd/material/material.py 44.44% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #719      +/-   ##
==========================================
+ Coverage   37.34%   37.37%   +0.03%     
==========================================
  Files         134      134              
  Lines       21737    21730       -7     
==========================================
+ Hits         8118     8122       +4     
+ Misses      13619    13608      -11     
Flag Coverage Δ
37.37% <31.57%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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.

Tested spline point picking with some APS data. Looks very nice!

@psavery psavery merged commit 3bf4626 into master Sep 26, 2024
7 checks passed
@psavery psavery deleted the wppf-remove-point-selection branch September 26, 2024 02:04
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