Re: Add Inverse Distance Weighted Interpolation?
Ralf Gommers <[email protected]> Mon, 11 Dec 2023 20:23:27 +0100
| Newsgroups | gmane.comp.python.scientific.devel |
|---|---|
| Message-ID | <CABL7CQjAivo0OL1t2M4d-uv4Kg8uS9c26cBe5XaJPz9Y6QDU9A@mail.gmail.com> |
On Mon, Dec 11, 2023 at 3:50 PM Harshil Kamdar <[email protected]> wrote: > Shepard's method/inverse distance weighted interpolation is very heavily > used in a lot of different interpolation applications ( > https://en.wikipedia.org/wiki/Inverse_distance_weighting). This message > is to gauge interest in adding it to the scipy interpolation stack. > > Link to PR - https://github.com/scipy/scipy/pull/19665 - implements a > flexible and fast version of IDW interpolation. The code as currently > written allows for any custom weighting of points as a function of > distance. This naturally extends the NearestNDInterpolator currently > available in scipy. > > Link to issue - https://github.com/scipy/scipy/issues/2022. There has > been previous discussion in the scipy community about this method. @ev-br > summarized the status of adding this to scipy in this comment - > https://github.com/scipy/scipy/issues/2022#issuecomment-1288027872. tl;dr > - adding to scipy.interpolate seemed like a good idea, but there were a > couple of different paths but no PRs to address. > Thanks for putting up a PR Harshil. I remember the previous discussion and also needing this myself at some point in the past. There is certainly enough interest in, and literature/citations for, to justify adding it to SciPy I'd say. Cheers, Ralf > _______________________________________________ > SciPy-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/scipy-dev.python.org/ > Member address: [email protected] > _______________________________________________ SciPy-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: [email protected]