analyse3.py created for simple analysis in the new way