Convolute Atomic Data - Wavelength & Intensity FWHM 20mm

  • Thread starter Thread starter Kartik82
  • Start date Start date
  • Tags Tags
    Convolution Data
Click For Summary
SUMMARY

This discussion focuses on convoluting atomic data using a Gaussian profile with a Full Width at Half Maximum (FWHM) of 20mm. The user, Kartik, seeks assistance in processing wavelength data on the x-axis and intensity data on the y-axis. Key recommendations include sorting transitions by wavelength, creating uniformly spaced x values for smoothness, and employing a computational approach to sum contributions from Gaussian lines efficiently. The discussion emphasizes the importance of managing computational efficiency to avoid floating point errors in Excel.

PREREQUISITES
  • Understanding of Gaussian profiles in data analysis
  • Familiarity with FWHM (Full Width at Half Maximum) concepts
  • Basic proficiency in Excel for data manipulation
  • Knowledge of programming for efficient data processing
NEXT STEPS
  • Implement Gaussian convolution techniques in Python using libraries like NumPy and SciPy
  • Explore advanced data visualization tools such as Matplotlib to plot convoluted data
  • Learn about numerical integration methods to enhance computational efficiency
  • Research error handling techniques in data processing to mitigate floating point errors
USEFUL FOR

Data analysts, physicists, and researchers working with atomic data who need to perform convolutions for spectral analysis and improve data processing efficiency.

Kartik82
Messages
6
Reaction score
0
Hi, Can anyone please help me in convoluting atomic data. Along x-axis I have wavelength and on Y axis I have scattered intensity. I want to convolute with FWHM of 20mm.
Thanks
Kartik
 
Physics news on Phys.org
Kartik82 said:
Hi, Can anyone please help me in convoluting atomic data. Along x-axis I have wavelength and on Y axis I have scattered intensity. I want to convolute with FWHM of 20mm.
Thanks
Kartik

What is your lineshape?
 
Quantum Defect said:
What is your lineshape?
Hi,
Thanks for your reply. Its Gaussian profile. As an example please see the attached one data set that I want to convolute.
 

Attachments

Kartik82 said:
Hi,
Thanks for your reply. Its Gaussian profile. As an example please see the attached one data set that I want to convolute.

X and Y are what?
 
Quantum Defect said:
X and Y are what?
Hi, X-axis is wavelength and y-axis is intensity.

Kartik
 
Kartik82 said:
Hi, X-axis is wavelength and y-axis is intensity.

Kartik

First thing generally is to sort the transitions by wavelength/frequency however you want to do things.
You can do this in excel, but it is more efficient to write a program to do this.

If you do this in excel, you want to create a set of x values that are uniformly spaced, with a point density that is good enough to give you a smoothness that you can live with. I.e. 3 points over your FWHM is probably too coarse, but 3,000 is way to many. You decide. Populate a column vector with these values.

You can create the spectrum of Gaussian lines in a variety of ways. The simplest (but computationally inefficient way) is to add up all of the contributions for all of the lines at each X grid point.

e.g. if x = 8.0000, y = SUM(Intensity_i*(exp[-(8.0000-x_i)^2/sigma] ) Where "Intensity_i" are your y-values in your original spreadsheet, the "x_i" are the x values in your original spreadsheet, and sigma is obtained from the Gaussian that you are assuming. If the different transitions have different effective Gaussian widths, you could have a third column in your original spreadsheet. In excel, you may get a floating point error if you are too far away from the line (i.e. if x is too far away from x_i), in which case you may have to play with the limits of the sum. In a program, you could fix these with something that checks to see if x is more than 4 sigma away from the xi, and not bother to calculate the intensity if the line falls outside of this range.
 
Quantum Defect said:
First thing generally is to sort the transitions by wavelength/frequency however you want to do things.
You can do this in excel, but it is more efficient to write a program to do this.

If you do this in excel, you want to create a set of x values that are uniformly spaced, with a point density that is good enough to give you a smoothness that you can live with. I.e. 3 points over your FWHM is probably too coarse, but 3,000 is way to many. You decide. Populate a column vector with these values.

You can create the spectrum of Gaussian lines in a variety of ways. The simplest (but computationally inefficient way) is to add up all of the contributions for all of the lines at each X grid point.

e.g. if x = 8.0000, y = SUM(Intensity_i*(exp[-(8.0000-x_i)^2/sigma] ) Where "Intensity_i" are your y-values in your original spreadsheet, the "x_i" are the x values in your original spreadsheet, and sigma is obtained from the Gaussian that you are assuming. If the different transitions have different effective Gaussian widths, you could have a third column in your original spreadsheet. In excel, you may get a floating point error if you are too far away from the line (i.e. if x is too far away from x_i), in which case you may have to play with the limits of the sum. In a program, you could fix these with something that checks to see if x is more than 4 sigma away from the xi, and not bother to calculate the intensity if the line falls outside of this range.
Hi,
Thank you so much for the detailed explanation. I will work on this and will let you know how it goes.

Kartik
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
10
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
14K