geolime.operations.drillhole.moving_window_declustering¶
Classes:
|
Functions:
|
Anisotropic distance between two points according to the anisotropy matrix a. |
|
Compute declustered weights by Moving Window algorithm. |
|
Function to return the indexes of the points which are in a (closed) ball in the Euclidean space. |
-
geolime.operations.drillhole.moving_window_declustering.
moving_window_declus
(drillholes: geolime.objects.drillhole.Drillholes, diam_x: int, diam_y: int, diam_z: int, var: str, geometry: str)¶ Compute declustered weights by Moving Window algorithm.
- Parameters
drillholes (Drillholes) – drillholes to decluster in x, y, z
diam_x (int) – ellipsoid diameter in x direction
diam_y (int) – ellipsoid diameter in y direction
diam_z (int) – ellipsoid diameter in z direction
var (str) – variable column
geometry (str) – ‘ball’ -> which_in_ball ‘parallelepiped’ -> __which_in_parallelepiped
- Returns
- Return type
declustered weights wi of each data point i
Note
- counts the number ni of samples inside
a moving window centered on point i.
weight wi is mv/ni where mv is the mean of all the ni.