From a0628fd8f5bdb0d9e84fc81b350ad7fa95408add Mon Sep 17 00:00:00 2001 From: Virginie Loison <48970001+vloison@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:50:27 +0200 Subject: [PATCH] improve docstring Co-authored-by: Thomas Moreau --- fadin/init.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fadin/init.py b/fadin/init.py index 32fe282..9eeb321 100644 --- a/fadin/init.py +++ b/fadin/init.py @@ -69,8 +69,9 @@ def init_hawkes_params(solver, init_mode, events, n_ground_events, end_time): def momentmatching_kernel_nomark(solver, events, n_ground_events, plot_delta=False, mode='max'): - """Moment matching initialization of kernel parameters. Implemented for - 'truncated_gaussian' and 'raised_cosine' kernels. + """Moment matching initialization of kernel parameters. + + Implemented for 'truncated_gaussian' and 'raised_cosine' kernels. For the truncated gaussian kernel, the means $m_{i,j}$ and std $\\sigma_{i,j}$ are: $m_{i, j} =