Cython  (18)

Optimization with Cython: Ising Models (Part 1)


This two part screencast shows how Cython can be used to optimize scientific Python code.

SWIPE ↑ or

Introductory Video

 In part 1, I develop some code to simulate a Ising model in Python, as well as to display the model with PIL/pillow and to interactively explore the evolution with ipywidgets. Code & more available at

Comment On Twitter