From b12fa93c603c6bda2c0799e6c3cf8467daaa0543 Mon Sep 17 00:00:00 2001 From: Nerea Salor Date: Wed, 29 Nov 2023 09:36:51 +0100 Subject: [PATCH] Add indented block --- antea/mcsim/sensor_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antea/mcsim/sensor_functions.py b/antea/mcsim/sensor_functions.py index f10a52b..6b5aa30 100644 --- a/antea/mcsim/sensor_functions.py +++ b/antea/mcsim/sensor_functions.py @@ -41,7 +41,7 @@ def apply_sipm_saturation(df: pd.DataFrame, rec_time: int): sensor saturation taking into account their recovery time. """ def exp(x: Sequence[float], tau: int): - return np.exp(-x/tau) + return np.exp(-x/tau) diff_time = np.diff(df.time.values) v_frac = 1 - exp(diff_time, rec_time)