Skip to content

Commit

Permalink
Docs: cleanup doc; Sphinx bugfixes (wrong refs)
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Feb 1, 2021
1 parent 46db911 commit 9092ef9
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 30 deletions.
10 changes: 0 additions & 10 deletions docs/source/field.base.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/source/field.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ gstools.field
=============

.. automodule:: gstools.field
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

.. raw:: latex

Expand All @@ -16,4 +12,3 @@ gstools.field

field.generator.rst
field.upscaling.rst
field.base.rst
2 changes: 0 additions & 2 deletions docs/source/variogram.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ gstools.variogram
=================

.. automodule:: gstools.variogram
:members:
:undoc-members:

.. raw:: latex

Expand Down
5 changes: 4 additions & 1 deletion gstools/field/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,22 @@
.. autosummary::
generator
upscaling
base
Spatial Random Field
^^^^^^^^^^^^^^^^^^^^
.. autosummary::
:toctree: generated
SRF
CondSRF
Field Base Class
^^^^^^^^^^^^^^^^
.. autosummary::
:toctree: generated
Field
----
Expand Down
6 changes: 3 additions & 3 deletions gstools/field/cond_srf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class CondSRF(Field):
Parameters
----------
model : :any:`CovModel`
Covariance Model of the spatial random field.
krige : :any:`Krige`
Kriging setup to condition the spatial random field.
generator : :class:`str`, optional
Name of the field generator to be used.
At the moment, only the following generator is provided:
Expand Down Expand Up @@ -116,7 +116,7 @@ def get_scaling(self, krige_var, shape):
-------
var_scale : :class:`numpy.ndarray`
Variance scaling factor for the random field.
nugget : :class:`numpy.ndarray` or `class:`int
nugget : :class:`numpy.ndarray` or :class:`int`
Nugget to be added to the field.
"""
if self.model.nugget > 0:
Expand Down
4 changes: 2 additions & 2 deletions gstools/field/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class RandMeth:
verbose : :class:`bool`, optional
Be chatty during the generation.
Default: :any:`False`
sampling :class:`str`, optional
sampling : :class:`str`, optional
Sampling strategy. Either
* "auto": select best strategy depending on given model
Expand Down Expand Up @@ -331,7 +331,7 @@ class IncomprRandMeth(RandMeth):
verbose : :class:`bool`, optional
State if there should be output during the generation.
Default: :any:`False`
sampling :class:`str`, optional
sampling : :class:`str`, optional
Sampling strategy. Either
* "auto": select best strategy depending on given model
Expand Down
4 changes: 2 additions & 2 deletions gstools/krige/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Krige(Field):
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
Notes
Expand Down Expand Up @@ -467,7 +467,7 @@ def set_condition(
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
Notes
Expand Down
10 changes: 5 additions & 5 deletions gstools/krige/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Simple(Krige):
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
"""

Expand Down Expand Up @@ -176,7 +176,7 @@ class Ordinary(Krige):
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
"""

Expand Down Expand Up @@ -281,7 +281,7 @@ class Universal(Krige):
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
"""

Expand Down Expand Up @@ -383,7 +383,7 @@ class ExtDrift(Krige):
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
"""

Expand Down Expand Up @@ -475,7 +475,7 @@ class Detrended(Krige):
Wheater to fit the given variogram model to the data.
This is done by using isotropy settings of the given model,
assuming the sill to be the data variance and with the
standard bins provided by the :any:`variogram` submodule.
standard bins provided by the :any:`standard_bins` routine.
Default: False
"""

Expand Down
4 changes: 4 additions & 0 deletions gstools/variogram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@
^^^^^^^^^^^^^^^^^^^^
.. autosummary::
:toctree: generated
vario_estimate
vario_estimate_axis
Binning
^^^^^^^
.. autosummary::
:toctree: generated
standard_bins
----
Expand Down

0 comments on commit 9092ef9

Please sign in to comment.