Interpolations.jl
Interpolations.jl copied to clipboard
Fast, continuous interpolation of discrete datasets in Julia
I was wondering how hard it would be to support irregular grids for `BSpline` interpolation. I am aware that you have `Gridded` for this case, however, I often end up...
`ConstantInterpolation` fails when argument is Unitful array, but works when it's `StepRangeLen`. For `LinearInterpolation` it works in both cases. ``` using Unitful, Interpolations x0 = (0:0.5:2)u"s"; y0 = (0:0.5:2)u"m"; #...
I have worked out a scheme for linear interpolation of functions `f(x,y)` that I think might be fast enough to be useful (and might be possible to optimize really well...
At http://juliamath.github.io/Interpolations.jl/latest/control/, it is said > The following boundary conditions are implemented: Flat, Line (alternatively, Natural), Free, Periodic and Reflect; **their mathematical implications are described in detail in their docstrings**....
https://github.com/JuliaMath/Interpolations.jl/blob/4316c044da4594783b287048e0fbaa7c885ca408/src/gridded/gridded.jl#L74 In this line of `gridded.jl`, `length(k1) == 1` is disabled. But when I just remove that line, I get expected behavior: ```julia f = interpolate(([1.],), [5.], Gridded(Constant())) @test bounds(f)...
Report via Slack: https://julialang.slack.com/archives/C6A044SQH/p1655221621792669 > I am having a problem with the Interpolations.jl package. Trying to do a periodic cubic spline interpolation results in the following: ``` julia> itp =...
GPU support?
I was experimenting with Lanczos interpolation (convolution of `sinc(x)sinc(x/a)`) of 3D data. In my use case I typically have O(n^3) data points and O(n^2) interpolation points. So far a very...
I'm not too familiar with how Interpolations deal with types, but this behavior seems quite strange. If you use types from Colors.jl, the values inside the domain get computed as...
I'm finding the [documentation on how to reuse weights](http://juliamath.github.io/Interpolations.jl/latest/devdocs/#Interpolant-usage) quite difficult to comprehend. But I would like to compute weights for an extrapolant/interpolant. My best attempt at replicating the code...
I have been frustrated by the code below returning NaN---presumably as the first two nodes (`[Inf, 1.0]`) are used to interpolate the queried value (`2`). Is there some way to...