Helper python scripts for various problems encountered as part of my PhD project.