add auto median thr
Merge branch 'master' of https://github.com/ferchaure/bci