selmax

tayph.selmax(y_in, p, s=0.0)[source] [edit on github]

This program returns the p (fraction btw 0 and 1) highest points in y, ignoring the very top fraction s (default zero, i.e. no points ignored), for the purpose of outlier rejection.