Various Python scripts useful for research