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.


  • field (numpy.ndarray) – Normal distributed values.

  • lmbda (float, optional) – The lambda parameter of the Box-Cox transformation. For lmbda=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