name: interpolation description: Techniques for 1D and 2D data interpolation using SciPy (CPU) and JAX/Interpax (GPU/Differentiable).
Interpolation Skill
Connect the dots. Choose SciPy for standard usage, JAX for gradient-based optimization.
Contents
- Examples
- Cubic Splines, PCHIP, Regular Grids.
- Reference
- Theoretical background on splines and grid methods.
Quick Decision Tree
- Standard/CPU? ->
SciPy(CubicSpline,RegularGridInterpolator). - Differentiable/GPU? ->
Interpax(interpax.interp1d). - Monotonicity Important? -> Use
PCHIP(SciPy) orcubic2(Interpax).