From f82d2d856f393f9f0d9ed1d42221207541e2a00a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lenain Date: Wed, 31 Jul 2024 17:20:40 +0200 Subject: [PATCH] Fix external URL in doc --- .../makers/component/spe/spe_algorithm.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/nectarchain/makers/component/spe/spe_algorithm.py b/src/nectarchain/makers/component/spe/spe_algorithm.py index 3318a557..0be6345f 100644 --- a/src/nectarchain/makers/component/spe/spe_algorithm.py +++ b/src/nectarchain/makers/component/spe/spe_algorithm.py @@ -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)`_ + The different parameters are explained in `Caroff et al. (2019) `_. + + .. _CAROFF: https://ui.adsabs.harvard.edu/abs/2019SPIE11119E..1WC Parameters ---------- @@ -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)`_ + The different parameters are explained in `Caroff et al. (2019) `_. + + .. _CAROFF: https://ui.adsabs.harvard.edu/abs/2019SPIE11119E..1WC Parameters ---------- @@ -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",