Python code to analyze data from aevol