Skip to content

Commit

Permalink
feat: Add zscore as possible rescaling option
Browse files Browse the repository at this point in the history
  • Loading branch information
smoia committed May 19, 2023
1 parent f9d794d commit 9ba5de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nigsp/operations/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ba5de1

Please sign in to comment.