add threshold
Merge branch 'master' of github.com:weng-lab/purcaro