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

Add new curvature optimization code #20

Merged
merged 3 commits into from
Jan 7, 2019

Conversation

mpmdean
Copy link
Contributor

@mpmdean mpmdean commented Jan 2, 2019

This code is for optimizing the curvature based on minimizing the fitted gaussian width of the spectrum.

@mpmdean mpmdean requested a review from awalter-bnl January 2, 2019 20:05
@awalter-bnl
Copy link
Contributor

There is an issue with the new test function which is failing. Once that has been resolved I am happy with this change.

@codecov-io
Copy link

Codecov Report

Merging #20 into master will increase coverage by 2.3%.
The diff coverage is 96.15%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #20     +/-   ##
=========================================
+ Coverage   63.91%   66.22%   +2.3%     
=========================================
  Files           4        4             
  Lines         424      450     +26     
=========================================
+ Hits          271      298     +27     
+ Misses        153      152      -1
Impacted Files Coverage Δ
rixs/tests/test_process2d.py 100% <100%> (ø) ⬆️
rixs/process2d.py 99% <94.44%> (+1.43%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3eacbf0...0266097. Read the comment docs.

@mpmdean
Copy link
Contributor Author

mpmdean commented Jan 2, 2019

The tests now pass.

Copy link
Contributor

@awalter-bnl awalter-bnl left a comment

Choose a reason for hiding this comment

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

This looks fine to me, nice documentation on this it is really easy to follow.

@danielballan
Copy link
Member

Just a drive-by comment: This looks super clean and easy to understand/maintain. Thank you for the docstrings and the test.

@awalter-bnl awalter-bnl merged commit 4991d5e into scikit-beam:master Jan 7, 2019
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.

4 participants