gstools.transform.apply

gstools.transform.apply(fld, method, field='field', store=True, process=False, **kwargs)[source]

Apply field transformation.

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

  • method (str) – Method to use. See gstools.transform for available transformations.

  • 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 with a specified 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.

  • **kwargs – Keyword arguments forwarded to selected method.

Raises

ValueError – When method is unknown.

Returns

Transformed field.

Return type

numpy.ndarray