IPython Notebook and Codes for Montreal Workshop