From 29168b7b27eba4630721f9faf4da6186d0cb42f6 Mon Sep 17 00:00:00 2001 From: Peter Luenenschloss <peter.luenenschloss@ufz.de> Date: Fri, 12 Feb 2021 19:51:34 +0100 Subject: [PATCH] adjusted docstring datatypes of changepoints detection function --- saqc/funcs/changepoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/saqc/funcs/changepoints.py b/saqc/funcs/changepoints.py index 6948dd659..5fd79dc2c 100644 --- a/saqc/funcs/changepoints.py +++ b/saqc/funcs/changepoints.py @@ -126,10 +126,10 @@ def assignChangePointCluster(data: DictOfSeries, field: str, flagger: BaseFlagge The reference variable, the deviation from wich determines the flagging. flagger : saqc.flagger A flagger object, holding flags and additional informations related to `data`. - stat_func : Callable[numpy.array, numpy.array] + stat_func : Callable[[numpy.array, numpy.array], float] A function that assigns a value to every twin window. Left window content will be passed to first variable, right window content will be passed to the second. - thresh_func : Callable[numpy.array, numpy.array] + thresh_func : Callable[numpy.array, numpy.array], float] A function that determines the value level, exceeding wich qualifies a timestamps stat func value as denoting a changepoint. bwd_window : str -- GitLab