https://pyside.pythonprogramminghelp.com/3unbelievable-stories-of-nonlinear-mixed-models/