Trailing-window length.
Threshold in robust standard deviations (1.4826 * MAD of the differences).
"cleaned" replaces outliers with the median, "flag" emits 1.0 at outliers (else 0.0), "nan" replaces outliers with NaN.
Warmup handling before the window is full (strict, expanding, or zero).
https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.
Causal impulse remover, detects spikes on the trend-free first difference.