gstools.tools.matrix_anisometrize

gstools.tools.matrix_anisometrize(dim, angles, anis)[source]

Create a matrix to rotate points and make them anisotrope.

Parameters
  • dim (int) – spatial dimension

  • angles (float or list) – the rotation angles of the target coordinate-system

  • anis (list of float) – the anisotropy of length scales along the transversal directions

Returns

Transformation matrix.

Return type

numpy.ndarray