Geostat algorithms

This module houses geostatistical algorithms developed by LPM.

Nearest neighbor estimation

pyLPM.geostatalgo.nn(x, y, z, var, grid)[source]

Neares neighbor estimator

Parameters:
  • x (array) – x coordinates data array
  • y (array) – y coordinates data array
  • z (array) – z coordinates data array
  • var (array) – variable data array
  • grid (dict) – grid definitions dictionary
Returns:

NN results array

Return type:

array