python script to log sonic

Dan's version of the python script to log the 2D sonic