Suppose there is a peak of normally (gaussian) distributed data (mean: 3.0, standard deviation: 0.3) in an exponentially decaying background. This distribution can be fitted with curve_fit within a few steps:
1.) Import the required libraries.
2.) Define the fit function that is to be fitted to th...