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 (
floatorNone, optional) – Mean of the given field. If None is given, the mean will be calculated. Default:Nonevar (
floatorNone, optional) – Variance of the given field. If None is given, the variance will be calculated. Default:Nonea (
float, optional) – Parameter a of the U-quadratic distribution (lower bound). Default: keep mean and varianceb (
float, optional) – Parameter b of the U-quadratic distribution (upper bound). Default: keep mean and variance
- Returns:
Transformed field.
- Return type: