Chapter 6 of the book "Mastering SciPy"