Skip to content

add d_to_tth, tth_to_d #199

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

Merged
merged 5 commits into from
Dec 7, 2024
Merged

add d_to_tth, tth_to_d #199

merged 5 commits into from
Dec 7, 2024

Conversation

yucongalicechen
Copy link
Contributor

closes #175
@sbillinge ready for review

Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (3aef608) to head (73d801f).
Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
+ Coverage   94.37%   96.49%   +2.11%     
==========================================
  Files           8        8              
  Lines         320      342      +22     
==========================================
+ Hits          302      330      +28     
+ Misses         18       12       -6     
Files with missing lines Coverage Δ
tests/test_transforms.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@sbillinge
Copy link
Contributor

@yucongalicechen this looks good, but I made a small tweak to an error message in the other PR so this is now conflicted. Please can you merge main, keeping the new message, to resolve this, and then I can merge it.

[np.array([5 * np.pi, 4 * np.pi, 3 * np.pi, 2 * np.pi, np.pi, 0])],
np.array([0.4, 0.5, 0.66667, 1, 2, np.inf]),
[np.array([0, 1 * np.pi, 2 * np.pi, 3 * np.pi, 4 * np.pi, 5 * np.pi])],
np.array([np.inf, 2, 1, 0.66667, 0.5, 0.4]),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

small edit so that we have an increasing qarray

@sbillinge sbillinge merged commit 08de7c9 into diffpy:main Dec 7, 2024
5 checks passed
@yucongalicechen yucongalicechen deleted the d-tth branch December 7, 2024 01:28
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.

diffraction objects implement d_to_tth, tth_to_d
2 participants