Skip to content

Commit

Permalink
doc/reST fixes in convergence.py (reduces warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst committed Dec 9, 2022
1 parent 777ee08 commit 98487f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/alchemlyb/convergence/convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _cummean(vals, out_length):


def fwdrev_cumavg_Rc(series, precision=0.01, tol=2):
"""Generate the convergence criteria :math:`R_c` for a single simulation.
r"""Generate the convergence criteria :math:`R_c` for a single simulation.
The input will be :class:`pandas.Series` generated by
:func:`~alchemlyb.preprocessing.subsampling.decorrelate_u_nk` or
Expand All @@ -217,9 +217,9 @@ def fwdrev_cumavg_Rc(series, precision=0.01, tol=2):
series : pandas.Series
The input energy array.
precision : float
The precision of the output :math:`R_c`. To speed the calculation up, the data
has been block-averaged before doing the calculation, the size of the
block is controlled by the desired precision.
The precision of the output :math:`R_c`. To speed the calculation up,
the data has been block-averaged before doing the calculation, the size
of the block is controlled by the desired precision.
tol : float
Tolerance (or convergence threshold :math:`\epsilon` in [Fan2021]_)
in :math:`kT`.
Expand Down Expand Up @@ -295,7 +295,7 @@ def fwdrev_cumavg_Rc(series, precision=0.01, tol=2):


def A_c(series_list, precision=0.01, tol=2):
"""Generate the ensemble convergence criteria :math:`A_c` for a set of simulations.
r"""Generate the ensemble convergence criteria :math:`A_c` for a set of simulations.
The input is a :class:`list` of :class:`pandas.Series` generated by
:func:`~alchemlyb.preprocessing.subsampling.decorrelate_u_nk` or
Expand Down

0 comments on commit 98487f8

Please sign in to comment.