analysis works, python plot script is much better