From 0fe8f53d250bce7597e5d53f256fe8e76c7d43bd Mon Sep 17 00:00:00 2001 From: Claudio Galelli Date: Fri, 11 Oct 2024 12:17:29 +0200 Subject: [PATCH] Print --- recipes/fit-psd-lightcurve/fit-psd-lightcurve.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/fit-psd-lightcurve/fit-psd-lightcurve.ipynb b/recipes/fit-psd-lightcurve/fit-psd-lightcurve.ipynb index 84bbfa5..1ee80a4 100644 --- a/recipes/fit-psd-lightcurve/fit-psd-lightcurve.ipynb +++ b/recipes/fit-psd-lightcurve/fit-psd-lightcurve.ipynb @@ -512,7 +512,7 @@ "source": [ "%%time\n", "index, index_err = minimize_x2_fit(pgram, pl, {\"index\":-2}, dsmax, simulator=\"TK\", nsims=10000, mean=dmean, std=dstd,method=\"Powell\")\n", - "print(\"Fit index:\")\n", + "print(\f"Fit index: {index}, error: {index_err}\")\n", "envelopes, freqs = lightcurve_psd_envelope(\n", " pl,\n", " dnpoints,\n",