geolime.geostats.variogram

Data:

Callable

Callable type; Callable[[int], str] is a function of (int) -> str.

List

The central part of internal API.

Classes:

Enum(value)

Generic enumeration.

Functions:

angle_between_vectors(v1, v2)

Compute the angle between two vectors using the dot product

covariance(values, indices)

Compute the covariance given an array of values for a set of pairs

directional_vector(dimension, …[, deg])

Compute directional vector from angles

generate_lags(lag, plag, nlags)

Generate lags array to be used with variogram

in_angle(vdir, atol)

Return a function that checks for an index vector if it belongs to an angular range.

in_range(target, atol)

Check if target angle lies within a range of angles (defined by an angle tolerance)

in_slice(trend, plunge, vdir[, width, height])

Return a function that check whether a vector (cartesian coordinates) lies within a slice (defined by a width and a height in meters)

norm(x[, ord, axis, keepdims])

Matrix or vector norm.

normalize(a, center)

(Adapted from Apach Commons normalizeAngle, MathUtils sources) Normalize an angle in a 2pi; wide interval around a center value.

pairwise(coords)

Computes pairwise distances

plane_to_dir(azimuth, dip, pitch[, deg])

Convert plane angles to line angles.

rot_z(alpha[, deg, clockwise])

Rotation againt the Z axis

rot_zyx(angles[, deg, clockwise])

Example of a convention (RGeoStats)

select_index_from_slice(idx, f)

Compare vectors from a set of indices

select_indices(coords, pwdist, lag, tol, …)

Check whether a set of points (linked to their distances) match the input restricted boundaries.

select_indices_from_angle(idx, f)

Compare vectors from a set of indices

select_indices_from_lag(pwdist, lag, tol)

Check whether a set of distances lie within a lag-range.

semivariance(values, indices[, weights])

Compute the semivariance given an array of values for a set of pairs

variogram(coords, values, lags, tol, …[, …])

Given boundary input arguments (lag and its associated tolerance, angular reference and its associated tolerance), compute the variogram for a set of points (value associated with cartesian coordinates for a specific point)