Closed fietew closed 4 years ago
Yes, I think it should be possible. Note that you're posting this issue in an old fork of scipy which we don't really use -- the SphericalVoronoi code is now integrated into the scipy master branch -- and will be officially released with scipy 0.18
soon (so use the scipy master branch, not this fork, for the spherical Voronoi stuff).
As a rough outline of a possible approach:
scipy.spatial.SphericalVoronoi
(the docs are here: http://scipy.github.io/devdocs/generated/scipy.spatial.SphericalVoronoi.html)Of course, I'm only doing this off the top of my head. If you think this would be sufficiently useful in your field of work to justify integration into i.e., scipy.interpolate
(http://docs.scipy.org/doc/scipy-0.17.0/reference/interpolate.html) then we should probably open an issue on the scipy repo proper. We would need some good unit tests and this code would depend on the area calculation issue above, and by extension producing nice plots of this stuff can still be tricky on a sphere (see: https://github.com/matplotlib/matplotlib/pull/6248 ).
Hi Tyler,
I was just wondering if and how the Spherical Voronoi could be extended to compute the natural neighbor interpolation (https://en.wikipedia.org/wiki/Natural_neighbor) weights for an ensemble of points on a spherical surface given a query point.