Code and IPython Notebooks on using astropy