Help with the 3D gaussian function

  • Context: Undergrad 
  • Thread starter Thread starter PythagoreLove
  • Start date Start date
  • Tags Tags
    3d Function Gaussian
Click For Summary

Discussion Overview

The discussion centers on the 3D Gaussian function, specifically its mathematical formulation and graphical interpretation. Participants explore the parameters involved, such as amplitude and spread, and seek methods for determining the spread values σx and σy from a given Gaussian curve.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant presents the 3D Gaussian function and questions the behavior of the function when σx=σy=1, noting that the function appears to be limited to the range of -3 to 3.
  • Another participant clarifies that the function theoretically extends to ±infinity, but values become negligible outside a certain range, specifically when |x-x0|/σx is much larger than 3.
  • A participant inquires about graphical methods for determining the values of σx and σy from a Gaussian curve.
  • Another participant suggests using the Full Width at Half Maximum (FWHM) as a method to find σx and σy, explaining how to measure the width of the curve at half the peak value and convert it into sigma.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical properties of the Gaussian function and the method of using FWHM to determine the spread parameters, but there is no consensus on the interpretation of the function's range when specific values are assigned to σx and σy.

Contextual Notes

The discussion does not resolve the assumptions regarding the behavior of the Gaussian function at specific parameter values, nor does it clarify the implications of the FWHM method in different contexts.

PythagoreLove
Messages
19
Reaction score
0
Hi,
I need help with the gaussian function in 3D. I'm using the form:
z=A*exp( (x-xo)^2/(2σx^2)+(y-yo)^2/(2σy^2))

I know that A is the amplitude and xo,yo are the center coordinate.

I found that formula on http://en.wikipedia.org/wiki/Gaussian_function and they say that σx and σy are the spread of the blob. But if I put σx=σy=1, the function is from -3 to 3... Why is that ?
 
Physics news on Phys.org
They only plotted it from -3 to 3. It extends to +/-infinity in both x and y, but once |x-x0|/sigmax is much larger than 3.0, the value of the function is very close to zero.
 
But is there a pretty good way to find σx and σy, graphically speaking. I have a gaussian curve and want to find what is the function.
 
A good way is to use FWHM(Full Width at Half Maximum). In other words, you measure the width of the curve at half of the peak value. This is then easily converted into sigma using the formula on this page:

http://en.wikipedia.org/wiki/Fwhm

Since you have a 2D Gaussian, you need to measure the FWHM in the x-direction with y=y0 to find sigmax, then do the same in the y-direction with x=x0 to find sigmay.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K