You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself running something like the following a lot:
sample_points =collect(hcat([[point.I...] for point infindall(outline)]...));
eval_points =collect(hcat([[point.I...] for point infindall(hole)]...));
itp =interpolate(Shepard(), sample_points, data[findall(outline)]))
vals = ScatteredInterpolation.evaluate(itp, eval_points)
What do you think about adding support for CartesianIndices so that collections of them can be passed directly to interpolate and evaluate?
Also thanks for the great package! I'm really happy to not have call out to Python to do scattered interpolations any more.
The text was updated successfully, but these errors were encountered:
I'm not fully sure that I understand your use case. If you have a collection I of CartesianIndex into an AbstractArrayA, don't you get an Array that you can use as input to interpolate and evaluate by doing A[I]?
I find myself running something like the following a lot:
What do you think about adding support for CartesianIndices so that collections of them can be passed directly to
interpolate
andevaluate
?Also thanks for the great package! I'm really happy to not have call out to Python to do scattered interpolations any more.
The text was updated successfully, but these errors were encountered: