gstools.transform.array_to_arcsin

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

Transform normal distribution to arcsin distribution.

See: https://en.wikipedia.org/wiki/Arcsine_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 mean will be calculated. Default: None

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

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

Returns:

Transformed field.

Return type:

numpy.ndarray