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 scipy.interpolate API #25

Merged
merged 5 commits into from
Mar 5, 2024
Merged

Add scipy.interpolate API #25

merged 5 commits into from
Mar 5, 2024

Conversation

f0uriest
Copy link
Owner

@f0uriest f0uriest commented Mar 5, 2024

Adds a number of classes that replicate most of the functionality of the corresponding classes from scipy.interpolate:

  • scipy.interpolate.PPoly -> interpax.PPoly
  • scipy.interpolate.Akima1DInterpolator -> interpax.Akima1DInterpolator
  • scipy.interpolate.CubicHermiteSpline -> interpax.CubicHermiteSpline
  • scipy.interpolate.CubicSpline -> interpax.CubicSpline
  • scipy.interpolate.PchipInterpolator -> interpax.PchipInterpolator

Resolves #6
Resolves #19

@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2024

Codecov Report

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

Project coverage is 97.92%. Comparing base (3c66c30) to head (0fa0231).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   91.56%   97.92%   +6.35%     
==========================================
  Files           6        7       +1     
  Lines         759      965     +206     
==========================================
+ Hits          695      945     +250     
+ Misses         64       20      -44     
Files Coverage Δ
interpax/__init__.py 100.00% <100.00%> (ø)
interpax/_fd_derivs.py 99.52% <100.00%> (+23.44%) ⬆️
interpax/_spline.py 97.73% <100.00%> (ø)
interpax/utils.py 87.50% <100.00%> (+20.83%) ⬆️
interpax/_ppoly.py 96.93% <96.93%> (ø)

@f0uriest f0uriest merged commit e178cba into main Mar 5, 2024
7 checks passed
@f0uriest f0uriest deleted the rc/scipy branch March 5, 2024 03:39
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.

Return coefficients of spline JAX scipy
2 participants