yonesuke

interpolation

0
0
# Install this skill:
npx skills add yonesuke/skills --skill "interpolation"

Install specific skill from multi-skill repository

# Description

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

# SKILL.md


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).

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.