wradlib.ipol.Idw¶
-
class
wradlib.ipol.Idw(src, trg, nnearest=4, p=2.)¶ Inverse distance weighting interpolation in N dimensions.
Parameters: - src (ndarray of floats, shape (npoints, ndims)) – Data point coordinates of the source points.
- trg (ndarray of floats, shape (npoints, ndims)) – Data point coordinates of the target points.
- nnearest (integer - max. number of neighbours to be considered) –
- p (float - inverse distance power used in 1/dist**p) –
Examples
See How to use wradlib’s ipol module for interpolation tasks?.
Note
__call__(vals) |
Evaluate interpolator for values given at the source points. |