interpolation

star 0

Techniques for 1D and 2D data interpolation using SciPy (CPU) and JAX/Interpax (GPU/Differentiable).

yonesuke By yonesuke schedule Updated 1/16/2026

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

  1. Standard/CPU? -> SciPy (CubicSpline, RegularGridInterpolator).
  2. Differentiable/GPU? -> Interpax (interpax.interp1d).
  3. Monotonicity Important? -> Use PCHIP (SciPy) or cubic2 (Interpax).
Install via CLI
npx skills add https://github.com/yonesuke/skills --skill interpolation
Repository Details
star Stars 0
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator