gstools.transform.normal_to_arcsin

gstools.transform.normal_to_arcsin(fld, a=None, b=None, field='field', store=True, process=False, keep_mean=True)[source]

Transform normal distribution to the bimodal arcsin distribution.

See: https://en.wikipedia.org/wiki/Arcsine_distribution

After this transformation, the field is arcsin-distributed on [a, b].

Parameters:
  • fld (Field) – Field class containing a generated field.

  • 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

  • field (str, optional) – Name of field to be transformed. The default is “field”.

  • store (str or bool, optional) – Whether to store field inplace (True/False) or under a given name. The default is True.

  • process (bool, optional) – Whether to process in/out fields with trend, normalizer and mean of given Field instance. The default is False.

  • keep_mean (bool, optional) – Whether to keep the mean of the field if process=True. The default is True.

Returns:

Transformed field.

Return type:

numpy.ndarray