gstools.tools.matrix_isometrize

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

Create a matrix to derotate points and make them isotrope.

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