gstools.transform.array_to_uquad

gstools.transform.array_to_uquad(field, mean=None, var=None, a=None, b=None)[source]

Transform normal distribution to U-quadratic distribution.

See: https://en.wikipedia.org/wiki/U-quadratic_distribution

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

  • 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

  • a (float, optional) – Parameter a of the U-quadratic distribution (lower bound). Default: keep mean and variance

  • b (float, optional) – Parameter b of the U-quadratic distribution (upper bound). Default: keep mean and variance

Returns

Transformed field.

Return type

numpy.ndarray