Pretest was running threshold map multiple times
Merge branch 'master' of github.com:nmohr/pyxar