gstools.transform.array_zinnharvey

gstools.transform.array_zinnharvey(field, conn='high', mean=None, var=None)[source]

Zinn and Harvey transformation to connect low or high values.

Parameters
  • field (numpy.ndarray) – Normal distributed values.

  • conn (str, optional) – Desired connectivity. Either “low” or “high”. Default: “high”

  • mean (float or None, optional) – Mean of the given field. If None is given, the mean will be calculated. Default: None

  • var (float or None, optional) – Variance of the given field. If None is given, the variance will be calculated. Default: None

Returns

Transformed field.

Return type

numpy.ndarray