gstools.transform.array_boxcox
- gstools.transform.array_boxcox(field, lmbda=1, shift=0)[source]
(Inverse) Box-Cox transformation to denormalize data.
After this transformation, the again Box-Cox transformed field is normal distributed.
See: https://en.wikipedia.org/wiki/Power_transform#Box%E2%80%93Cox_transformation
- Parameters
field (
numpy.ndarray
) – Normal distributed values.lmbda (
float
, optional) – The lambda parameter of the Box-Cox transformation. Forlmbda=0
one obtains the log-normal transformation. Default:1
shift (
float
, optional) – The shift parameter from the two-parametric Box-Cox transformation. The field will be shifted by that value before transformation. Default:0