girs.feat.proc.idw

idw(xy_in, z_in, xy_out, nnn=None, p=2)

Return the Shepard (idw) interpolation

Parameters:
  • xy_in – list of coordinate tuples
  • z_in – list of values
  • xy_out – list of coordinate tuples
  • nnn – integer, number of nearest neighbors
  • p
Returns:

z-value or list of z values