====== Theis method (Python Notebook) ======