gstools.tools.tplstable_cor
- gstools.tools.tplstable_cor(r, len_scale, hurst, alpha)[source]
Calculate the correlation function of the TPLStable model.
Given by the following correlation function:
\[\rho(r) = \frac{2H}{\alpha} \cdot E_{1+\frac{2H}{\alpha}} \left(\left(\frac{r}{\ell}\right)^{\alpha} \right)\]- Parameters:
r (
numpy.ndarray) – input valueslen_scale (
float) – length-scale of the model.hurst (
float) – Hurst coefficient of the power law.alpha (
float, optional) – Shape parameter of the stable model.