Hanle curve fitting with Python.