Skip to content

Commit

Permalink
Update thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
casadoj committed Oct 4, 2024
1 parent ec57831 commit 1d016ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lisfloodutilities/thresholds/thresholds.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import numpy as np
import xarray as xr
from typing import Tuple
from typing import Tuple, Union


def lmoments(values: np.ndarray) -> np.ndarray:
Expand Down Expand Up @@ -128,7 +128,7 @@ def gumbel_function(
sigma: Union[np.ndarray, float],
mu: Union[np.ndarray, float]
) -> Union[np.ndarray, float]:
"""Compute the value of a Gumbel distribution associated to a return periods.
"""Compute the value of a Gumbel distribution associated to certain return periods.
This function is equivalent to scipy.stats.gumbel_r.ppf(1 - 1 / return_period, loc=mu, scale=sigma)
Expand Down

0 comments on commit 1d016ae

Please sign in to comment.