- gstools.normalizer.remove_trend_norm_mean(pos, field, mean=None, normalizer=None, trend=None, mesh_type='unstructured', value_type='scalar', check_shape=True, stacked=False, fit_normalizer=False)
Remove trend, de-normalization and mean from given field.
iterable) – Position tuple, containing main direction and transversal directions.
callable, optional) – Mean of the field if wanted. Could also be a callable. The default is None.
Normalizer, optional) – Normalizer to be applied to the field. The default is None.
callable, optional) – Trend of the denormalized fields. If no normalizer is applied, this behaves equal to ‘mean’. The default is None.
str, optional) – ‘structured’ / ‘unstructured’ Default: ‘unstructured’
str, optional) – Value type of the field. Either “scalar” or “vector”. The default is “scalar”.
bool, optional) – Whether to check pos and field shapes. The default is True.
bool, optional) – Whether the field is stacked or not. The default is False.
bool, optional) – Whether to fit the data-normalizer to the given (detrended) field. Default: False