¡@

Home 

python Programming Glossary: nnear

Inverse Distance Weighted (IDW) Interpolation with Python

http://stackoverflow.com/questions/3104781/inverse-distance-weighted-idw-interpolation-with-python

Invdisttree X z data points values interpol invdisttree q nnear 3 eps 0 p 1 weights None stat 0 interpolates z from the 3 points.. in 2d 3d 4d .. 10d see Wendel's formula b make 3 runs with nnear e.g. 6 8 10 and look at the results interpol 6 interpol 8 etc... f q . I find that runtimes don't increase much at all with nnear ymmv. p 1 p 2 p 2 weights nearer points more farther points..