gstools.transform.normal_to_uniform
- gstools.transform.normal_to_uniform(fld, low=0.0, high=1.0, field='field', store=True, process=False, keep_mean=True)[source]
Transform normal distribution to uniform distribution on [0, 1].
After this transformation, the field is uniformly distributed on [0, 1].
- Parameters
fld (
Field
) – Field class containing a generated field.low (
float
, optional) – Lower bound for the uniform distribution. Default: 0.0high (
float
, optional) – Upper bound for the uniform distribution. Default: 1.0field (
str
, optional) – Name of field to be transformed. The default is “field”.store (
str
orbool
, 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.