Skip to content

Commit

Permalink
Add indented block
Browse files Browse the repository at this point in the history
  • Loading branch information
NereaSalor committed Nov 29, 2023
1 parent df765c2 commit b12fa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antea/mcsim/sensor_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b12fa93

Please sign in to comment.