Model Fit Function Python Example Code Guilhem Castagne