Skip to main content

idw

GitHub source

idw

evo.compute.tasks.geostatistics.declustering.idw

idw(
source: Any, grid: Any, target: AnyTargetAttribute, neighborhood: SearchNeighborhood, *, power: float = 2.0
) -> DeclusteringParameters

Create IDW (inverse-distance weighting) declustering parameters.

Higher power values give nearer samples more weight.

Args: source: Source sample locations (geoscience object URL or DeclusteringSource). grid: Evaluation grid (geoscience object URL or DeclusteringGrid). target: Target object and attribute to write declustering weights to. neighborhood: Search neighborhood parameters. power: IDW power exponent. Default 2.0. Must be positive.

Returns: Configured DeclusteringParameters ready for run().

Was this page helpful?