How Do I Correctly Fit a Gaussian to My Absorption Spectra Data?

  • Context: Graduate 
  • Thread starter Thread starter pazmush
  • Start date Start date
  • Tags Tags
    Fitting Gaussian
Click For Summary
SUMMARY

This discussion focuses on fitting a Gaussian to absorption spectra data using maximum likelihood estimators for mean and variance. The user initially calculates the mean and variance to fit the Gaussian but encounters issues with an excessively large amplitude. Participants confirm that the approach is correct but suggest verifying calculations and providing additional details for further assistance.

PREREQUISITES
  • Understanding of Gaussian distributions and their properties
  • Familiarity with maximum likelihood estimation techniques
  • Basic knowledge of data analysis and statistical plotting
  • Experience with software tools for data visualization (e.g., Python with Matplotlib or R)
NEXT STEPS
  • Review Gaussian fitting techniques in Python using libraries like SciPy
  • Explore methods for calculating amplitude adjustments in Gaussian fits
  • Learn about data preprocessing techniques for absorption spectra
  • Investigate visualizing data with Matplotlib to enhance understanding of fitting results
USEFUL FOR

Researchers, data analysts, and scientists working with absorption spectra data who need to accurately fit Gaussian models to their datasets.

pazmush
Messages
32
Reaction score
0
I have a set of data for an absorption spectra that I plot the firtst derivative of and it gives me a gaussianish plot, I then want to fit it with a gaussian and what I've been doing so far is calculating the mean and variace of the spread and then using them in the equation. Although this does give me a gaussian the amplitude is too large and I'm unsure weather this is the correct way to be doing the data analysis

Can anyone help, thanks
 
Physics news on Phys.org
What you describe sounds right.

The maximum likelihood estimators for the mean and the variance of a normal distribution are simply the population mean and variance. Maybe you made a mistake in your calculations.

If not so, it would be helpful if you provide a some more details on what you are doing, maybe a picture:smile:
 

Similar threads

Replies
28
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 11 ·
Replies
11
Views
28K
  • · Replies 26 ·
Replies
26
Views
3K