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. Seegstools.transformfor available transformations.field (
str, optional) – Name of field to be transformed. The default is “field”.store (
strorbool, 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: