Python code for the Gaussian curve fit. The code applies the Levenberg-Marquardt algorithm to solve a least square problem.
Example data:
(-370,0), (-290, 0), (-200, 0), (0, 8), (100, 9), (200, 9), (300, 8), (400, 6), (500, 5), (600, 3), (700, 1), (800, 1), (900, 0), (1000, 0)
python main.py