Optimization with Cython: Ising Models (Part 1)


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

Upvotes: DownVotes:
Age: a year     Page Views: 3514
Votes / View: 22    Wilson Score: 0.95

 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 http://jakevdp.github.io/blog/2017/12...