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

center_diffractogram function #162

Merged
merged 2 commits into from
Apr 6, 2024
Merged

center_diffractogram function #162

merged 2 commits into from
Apr 6, 2024

Conversation

ahoust17
Copy link
Contributor

Robust function which uses Ostu's thresholding method, edge finding, and mean-square error fitting of the edge to center the diffractogram.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 10.20408% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 25.33%. Comparing base (3400d60) to head (a8479cf).

Files Patch % Lines
pyTEMlib/image_tools.py 10.20% 44 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   25.40%   25.33%   -0.08%     
==========================================
  Files          40       40              
  Lines        9620     9663      +43     
==========================================
+ Hits         2444     2448       +4     
- Misses       7176     7215      +39     
Flag Coverage Δ
unittests 25.33% <10.20%> (-0.08%) ⬇️

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.

@gduscher gduscher merged commit ad8a209 into pycroscopy:main Apr 6, 2024
2 of 4 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.

3 participants