JuliaMath / JuliaMath/Interpolations.jl

Free(OnGrid()) boundary conditions produce surprising results

Open
#570 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
575
Forks
117
PR merge metrics
No merged PRs in 30d

Description

I'm interpolating a 3-dimensional regular surface with `scale(interpolate(Espldata, BSpline(Cubic()))` where is either `Line(OnGrid())` or `Free(OnGrid())`. I am confused by the below result, which is a 1D slice through the grid with the other two parameters being grid points. Why do the Free boundary conditions behave so poorly? My impression is that Free BCs are the same as not-a-knot (continuity in third derivative for second-last spline knot) but this is clearly not what is happening here.

![image](https://github.com/JuliaMath/Interpolations.jl/assets/47143521/33cdc014-40d7-4da9-8a8f-4df75c9960b9)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.