Skip to content Skip to sidebar Skip to footer
Showing posts with the label Curve Fitting

Fitting Multiple Lorentzians To Brillouin Spectrum Using Scipy In Python 3

I am trying to fit Brillouin Spectra (with several peaks) using scipy.optimize.curve_fit. I have h… Read more Fitting Multiple Lorentzians To Brillouin Spectrum Using Scipy In Python 3

Fitting Gaussian To Absorbtion Line In Python

I am trying to fit a gaussian to my data which is taken in a pretty narrow spectral window. We got … Read more Fitting Gaussian To Absorbtion Line In Python

How To Apply Piecewise Linear Fit For A Line With Both Positive And Negative Slopes In Python?

I have data provided in the code which have negative and positive slopes as shown in figure: Using… Read more How To Apply Piecewise Linear Fit For A Line With Both Positive And Negative Slopes In Python?

Python And Lmfit: How To Fit Multiple Datasets With Shared Parameters?

I would like to use the lmfit module to fit a function to a variable number of data-sets, with some… Read more Python And Lmfit: How To Fit Multiple Datasets With Shared Parameters?

How To Do Scipy Curve Fitting With Error Bars And Obtain Standard Errors On Fitting Parameters?

I am trying to fit my data points. It looks like the fitting without errors are not that optimistic… Read more How To Do Scipy Curve Fitting With Error Bars And Obtain Standard Errors On Fitting Parameters?

Python Scipy.optimise.curve_fit Gives Linear Fit

I have come across a problem when playing with the parameters of the curve_fit from scipy. I have i… Read more Python Scipy.optimise.curve_fit Gives Linear Fit