python scripts for GRA data analysis