kriging
py3dinterpolations.modelling.models.kriging
¶
Ordinary Kriging 3D model via pykrige.
KrigingModel(**kriging_params)
¶
Bases: BaseModel
Ordinary Kriging 3D wrapper around pykrige.
pykrige fits at construction time, so fit() constructs the OrdinaryKriging3D instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
**kriging_params
|
object
|
Parameters passed to OrdinaryKriging3D constructor. |
{}
|
Source code in py3dinterpolations/modelling/models/kriging.py
20 21 22 | |
fit(x, y, z, v)
¶
Fit by constructing the OrdinaryKriging3D model.
Source code in py3dinterpolations/modelling/models/kriging.py
24 25 26 | |
predict(grid_x, grid_y, grid_z, **kwargs)
¶
Execute kriging on the given grid arrays.
Returns:
| Type | Description |
|---|---|
InterpolationResult
|
InterpolationResult with interpolated and variance arrays. |
InterpolationResult
|
Shape is (len(grid_z), len(grid_y), len(grid_x)) per pykrige convention. |
Source code in py3dinterpolations/modelling/models/kriging.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | |