Skip to content

Add function for Nyquist-Shannon grid interpolation #235

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 2 commits into from
Dec 15, 2024

Conversation

Sparks29032
Copy link
Collaborator

@Sparks29032 Sparks29032 commented Dec 15, 2024

Runs wsinterp as a subroutine. Documentation and tests added.

Should be a separate function as the inputs require an additional qmin, qmax and we should not overload wsinterp.

Closes #48.

Copy link

codecov bot commented Dec 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (891d774) to head (b1213b1).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #235   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          362       372   +10     
=========================================
+ Hits           362       372   +10     
Files with missing lines Coverage Δ
tests/test_resample.py 100.00% <100.00%> (ø)

@sbillinge sbillinge merged commit 7b6ee2e into diffpy:main Dec 15, 2024
5 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.

use ws interpolation for computing the PDF on the NS grid inside diffpy
2 participants