as part of a machine-learning project in Python, I have to fit the data that is shown in the linked picture as green line:
Data + failed fit-function