pidExample ipython notebook