Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Feb 2, 2024
1 parent de39739 commit 46e593c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmethods/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def quantile_mapping(
**kwargs: Any,
) -> np.ndarray:
r"""
**Do not call this function directly, please use :func:`cmethods.CMethods.adjust`**
**Do not call this function directly, please use :func:`cmethods.adjust`**
See https://python-cmethods.readthedocs.io/en/latest/src/methods.html#quantile-mapping
"""
check_adjust_called(
Expand Down Expand Up @@ -205,7 +205,7 @@ def quantile_delta_mapping(
**kwargs: Any,
) -> NPData:
r"""
**Do not call this function directly, please use :func:`cmethods.CMethods.adjust`**
**Do not call this function directly, please use :func:`cmethods.adjust`**
See https://python-cmethods.readthedocs.io/en/latest/src/methods.html#quantile-delta-mapping
"""
Expand Down
4 changes: 2 additions & 2 deletions cmethods/scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def linear_scaling(
**kwargs: Any,
) -> NPData:
r"""
**Do not call this function directly, please use :func:`cmethods.CMethods.adjust`**
**Do not call this function directly, please use :func:`cmethods.adjust`**
See https://python-cmethods.readthedocs.io/en/latest/src/methods.html#linear-scaling
"""
Expand Down Expand Up @@ -125,7 +125,7 @@ def delta_method(
**kwargs: Any,
) -> NPData:
r"""
**Do not call this function directly, please use :func:`cmethods.CMethods.adjust`**
**Do not call this function directly, please use :func:`cmethods.adjust`**
See https://python-cmethods.readthedocs.io/en/latest/src/methods.html#delta-method
"""
check_adjust_called(
Expand Down
6 changes: 3 additions & 3 deletions doc/src/methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ In the following the equations of Alex J. Cannon (2015) are shown and explained:

**Multiplicative**:

.. math::
X^{*QM}_{sim,p}(i) = F^{-1}_{obs,h}\Biggl\{F_{sim,h}\left[\frac{\mu{X_{sim,h}} \cdot X_{sim,p}(i)}{\mu{X_{sim,p}(i)}}\right]\Biggr\}\frac{\mu{X_{sim,p}(i)}}{\mu{X_{sim,h}}}
The formula is the same as for the additive variant, but the values are
bound to the lower level of zero. The upper and lower boundary can be
adjusted by passing the hidden arguments ``val_min`` and ``val_max``.

.. code-block:: python
:linenos:
Expand Down

0 comments on commit 46e593c

Please sign in to comment.