Skip to content

Commit

Permalink
Merge pull request #192 from pepijnvtol/patch-1
Browse files Browse the repository at this point in the history
Update docstring spherical model
  • Loading branch information
mmaelicke authored Feb 3, 2025
2 parents 21ef923 + 9634149 commit 25a0ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skgstat/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def spherical(h, r, c0, b=0.0):
The implementation follows [6]_:
.. math::
\gamma = b + C_0 * \left({1.5*\frac{h}{a} - 0.5*(\frac{h}{a})^3}\right)
\gamma = b + C_0 * \left({1.5*\frac{h}{a} - 0.5*\left(\frac{h}{a}\right)^3}\right)
if :math:`h < r`, and
Expand Down Expand Up @@ -160,7 +160,7 @@ def gaussian(h, r, c0, b=0.0):
r : float
The effective range. Note this is not the range parameter! For the
exponential variogram function the range parameter a is defined to be
:math:`a=\frac{r}{3}`. The effetive range is the lag where 95% of the
:math:`a=\frac{r}{2}`. The effetive range is the lag where 95% of the
sill are exceeded. This is needed as the sill is only approached
asymptotically by an exponential function.
c0 : float
Expand Down

0 comments on commit 25a0ddd

Please sign in to comment.