Python scripts used in D4c data analysis