Skip to content

Commit fe7a86d

Browse files
authored
Merge pull request #1720 from pints-team/1482-1519-call-docs
Several improvements to docs
2 parents 9d7a88f + 14dfab0 commit fe7a86d

28 files changed

Lines changed: 172 additions & 256 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The full code can be [viewed here](https://github.com/pints-team/pints/blob/main
3737

3838
Beyond time-series models, PINTS can be used on any error function or log-likelihood that takes real-valued, continuous parameters.
3939

40-
A graphical overview of the methods included in PINTS can be [viewed here](https://pints-team.github.io/pints-methods-overview/).
40+
An overview of the methods provided by PINTS can be [viewed here](https://pints.readthedocs.io/en/stable/#provided-methods).
4141

4242
### Examples and documentation
4343

docs/source/abc_samplers/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ given a :class:`LogPrior` and a :class:`ErrorMeasure`.
1111

1212

1313
.. toctree::
14+
:maxdepth: 1
1415

1516
base_classes
1617
abc_smc
17-
rejection_abc
18+
rejection_abc

docs/source/boundaries.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ Simple boundaries for an optimisation can be created using
99
More complex types can be made using :class:`LogPDFBoundaries` or a custom
1010
implementation of the :class:`Boundaries` interface.
1111

12-
Overview:
13-
14-
- :class:`Boundaries`
15-
- :class:`ComposedBoundaries`
16-
- :class:`LogPDFBoundaries`
17-
- :class:`RectangularBoundaries`
18-
19-
2012
.. autoclass:: Boundaries
2113

2214
.. autoclass:: ComposedBoundaries

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
autodoc_default_options = {
4040
'members': None,
4141
'inherited-members': None,
42+
'special-members': '__call__',
4243
}
4344

4445
# Add any paths that contain templates here, relative to this directory.
@@ -55,7 +56,7 @@
5556

5657
# General information about the project.
5758
project = u'Pints'
58-
copyright = u'2022, Pints Authors'
59+
copyright = u'2017-2026, Pints Authors'
5960
author = u'Pints Authors'
6061

6162
# The version info for the project you're documenting, acts as replacement for

docs/source/core_classes_and_methods.rst

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ Pints provides the :class:`SingleOutputProblem` and
99
inverse problems based on time series data and
1010
:class:`ForwardModel`.
1111

12-
Overview:
13-
14-
- :class:`ForwardModel`
15-
- :class:`ForwardModelS1`
16-
- :class:`MultiOutputProblem`
17-
- :class:`SingleOutputProblem`
18-
- :class:`TunableMethod`
19-
- :func:`version`
20-
21-
.. autofunction:: version
22-
23-
.. autoclass:: TunableMethod
24-
2512

2613
Forward model
2714
*************
@@ -40,3 +27,12 @@ Problems
4027

4128
.. autoclass:: MultiOutputProblem
4229

30+
Hyperparameters
31+
***************
32+
33+
.. autoclass:: TunableMethod
34+
35+
PINTS version
36+
*************
37+
38+
.. autofunction:: version

docs/source/diagnostic_plots.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@ Diagnostic plots
77
For users who have Matplotlib installed, Pints offers a number of diagnostic
88
plots that can be used to quickly check obtained results.
99

10-
Plotting functions:
10+
Plots of functions:
1111

1212
- :func:`function`
1313
- :func:`function_between_points`
1414
- :func:`surface`
1515

16-
Diagnosing MCMC results:
16+
MCMC Diagnostic plots:
1717

1818
- :func:`autocorrelation`
1919
- :func:`histogram`
2020
- :func:`pairwise`
2121
- :func:`series`
2222
- :func:`trace`
2323

24-
Functions
25-
---------
24+
Plots of functions
25+
------------------
2626

2727
.. autofunction:: function
2828

2929
.. autofunction:: function_between_points
3030

3131
.. autofunction:: surface
3232

33-
MCMC Diagnostics
34-
----------------
33+
MCMC Diagnostic plots
34+
---------------------
3535

3636
.. autofunction:: autocorrelation
3737

docs/source/diagnostics.rst

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/source/error_measures.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@ Example::
1313
x = [1,2,3]
1414
fx = error(x)
1515

16-
Overview:
17-
18-
- :class:`ErrorMeasure`
19-
- :class:`MeanSquaredError`
20-
- :class:`NormalisedRootMeanSquaredError`
21-
- :class:`ProbabilityBasedError`
22-
- :class:`ProblemErrorMeasure`
23-
- :class:`RootMeanSquaredError`
24-
- :class:`SumOfErrors`
25-
- :class:`SumOfSquaresError`
26-
2716

2817
.. autoclass:: ErrorMeasure
2918

docs/source/function_evaluation.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ Example::
1818
]
1919
fx = e.evaluate(x)
2020

21-
Overview:
22-
23-
- :func:`evaluate`
24-
- :class:`Evaluator`
25-
- :class:`ParallelEvaluator`
26-
- :class:`SequentialEvaluator`
27-
- :class:`MultiSequentialEvaluator`
28-
2921

3022
.. autofunction:: evaluate
3123

0 commit comments

Comments
 (0)