Some python scripts used for my thesis