Return a 1-D array of length len(x) - window + 1:
i is (x[i+window-1] - mean(w)) / std(w) for the window
w = x[i : i+window]0.0 where the window's std is exactly zeroInput
x = [ 1. 2. 3. 4. 10.]
window = 3
Output
[1.22474487 1.22474487 1.40182605]