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 was trying to do the interpolation onto a 3D grid. With the number of scattered points ~2*10^6 and the method Multiquadratic(), I had a OutOfMemoryError. Based on what I've seen briefly in the backtrace source code, there is somewhere in the Distance package that requires a n*n matrix, where n is the number of scattered points. Is that right? Is it possible to do the interpolation at this size currently?
I also tried Shepard(). It turns out that there're also allocations of some large matrix which throws OutOfMemoryError with a large number of points to be evaluated when calling evaluate.
In MATLAB or Python, I noticed that for 3D scattered data interpolation only two methods are presented: nearest neighbor and linear. The methods in this package is different from what the other two mean by linear right? Is there an equivalent method of linear in Julia?
Thanks ahead.
The text was updated successfully, but these errors were encountered:
This is a major drawback of the current methods in this package (except for NearestNeighbor()), since they need the distance between all sampling points.
I would really like to have an implementation of a fast linear method corresponding to the ones in Python or MATLAB. However, these use a Delaunay triangulation of the sampling points, and as far as I know, the only Julia library providing such a triangulation works only in 2D. I started an implementation two years ago by wrapping the Qhull library that both Python and MATLAB use for the Delaunay triangulation, but that was a major pain and I gave up.
I am not aware of any other Julia package that would be able to perform interpolation of scattered data for larger data sets. Maybe a solution for you could be to use the linear methods from Python using PyCall.jl?
Actually calling griddata directly from Python is my current working approach. I also found the 3D Delaunay support somehow missing in the Julia community, which is quite sad.
Hi,
I was trying to do the interpolation onto a 3D grid. With the number of scattered points ~
2*10^6
and the method Multiquadratic(), I had a OutOfMemoryError. Based on what I've seen briefly in the backtrace source code, there is somewhere in the Distance package that requires an*n
matrix, where n is the number of scattered points. Is that right? Is it possible to do the interpolation at this size currently?I also tried Shepard(). It turns out that there're also allocations of some large matrix which throws OutOfMemoryError with a large number of points to be evaluated when calling evaluate.
In MATLAB or Python, I noticed that for 3D scattered data interpolation only two methods are presented: nearest neighbor and linear. The methods in this package is different from what the other two mean by linear right? Is there an equivalent method of linear in Julia?
Thanks ahead.
The text was updated successfully, but these errors were encountered: