interpolate
Resample an XY curve onto evenly spaced X values using linear, spline, bspline, or akima interpolation. Specify the number of output points to control spacing.
Instructions
Resample an XY curve onto evenly spaced X values.
Args: num_points: number of output points across the X range method: linear, spline, bspline, or akima
Returns: JSON: output sheet plus the resampled X and Y
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_book | Yes | ||
| data_sheet | Yes | ||
| x_col | Yes | ||
| y_col | Yes | ||
| num_points | No | ||
| method | No | linear |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |