Skip to content

Commit

Permalink
Fix external URL in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenain committed Jul 31, 2024
1 parent 6266527 commit f82d2d8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/nectarchain/makers/component/spe/spe_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,9 @@ def _NG_Likelihood_Chi2(
):
"""
Calculates the chi-square value using the MPE2 function.
The different parameters are explained in
`Caroff et al. (2019)<https://ui.adsabs.harvard.edu/abs/2019SPIE11119E..1WC>`_
The different parameters are explained in `Caroff et al. (2019) <CAROFF>`_.
.. _CAROFF: https://ui.adsabs.harvard.edu/abs/2019SPIE11119E..1WC
Parameters
----------
Expand Down Expand Up @@ -966,8 +967,9 @@ def plot_single_matplotlib(
) -> tuple:
"""
Generate a plot of the data and a model fit for a specific pixel.
The different parameters are explained in
`Caroff et al. (2019)<https://ui.adsabs.harvard.edu/abs/2019SPIE11119E..1WC>`_
The different parameters are explained in `Caroff et al. (2019) <CAROFF>`_.
.. _CAROFF: https://ui.adsabs.harvard.edu/abs/2019SPIE11119E..1WC
Parameters
----------
Expand Down Expand Up @@ -1042,9 +1044,9 @@ def display(self, pixels_id: np.ndarray, package="pyqtgraph", **kwargs) -> None:
Default to pyqtgraph
kwargs
Additional keyword arguments.
figpath: str
The path to save the generated plot figures.
Defaults to ``/tmp/NectarGain_pid{os.getpid()}``.
figpath : str
The path to save the generated plot figures.
Defaults to ``/tmp/NectarGain_pid{os.getpid()}``.
"""
figpath = kwargs.get(
"figpath",
Expand Down

0 comments on commit f82d2d8

Please sign in to comment.