Skip to content

Instantly share code, notes, and snippets.


Pei Li PeiLi-Sandman

Block or report user

Report or block PeiLi-Sandman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
PeiLi-Sandman /
Last active Oct 24, 2019 — forked from ximeg/
Python implementation of smoothed z-score algorithm from
# The original version is here:
# I made several modifications
# Line 14, change to range(lag, len(y))
# Add "addof = 1" for np.std
# For avgFilter and stdFilter, change "filteredY[(i-lag):i]" to "filteredY[(i+1-lag):(i+1)]"
import numpy as np
import pylab
You can’t perform that action at this time.