Below is an embedded version of an iPython notebook I have made publicly available on nbviewer. To download a copy of the code, click on the icon with three horizontal lines at the top right of the notebook (just below this paragraph) and select “Download Notebook.” I hope you find it helpful. If so, please share, and happy coding!
[iframe src=”http://nbviewer.ipython.org/gist/gdsaxton/b5fea065e6dd746050e7″ width=”150%” height=”1000″]