From 9ba5de1d000b60910891103f0d03eccfd0828a2f Mon Sep 17 00:00:00 2001 From: smoia Date: Tue, 4 Apr 2023 15:42:07 +0200 Subject: [PATCH] feat: Add zscore as possible rescaling option --- nigsp/operations/timeseries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nigsp/operations/timeseries.py b/nigsp/operations/timeseries.py index 6cd766b..d005513 100644 --- a/nigsp/operations/timeseries.py +++ b/nigsp/operations/timeseries.py @@ -205,7 +205,7 @@ def resize_ts(timeseries, resize=None, globally=False): if resize == "spc": # pragma: no cover LGR.info("Expressing timeseries in signal percentage change") timeseries = spc_ts(timeseries, globally=globally) - elif resize == "norm": # pragma: no cover + elif resize in ["norm", "zscore"]: # pragma: no cover LGR.info("Normalise timeseries") timeseries = normalise_ts(timeseries, globally=globally) elif resize == "demean": # pragma: no cover