These are some Python scripts I have used in my research. I have mostly used IPython notebooks for many other important calculations and for my final plots, which I can make available if required. Hope these are helpful!