1
$\begingroup$

I have the Gaussian:

$a e^{-b^2 (x-c)^2}$

And need to isolate the Sigma and FWHM from it. I believe that

$b = \frac{1}{\sigma^2}$

and

$FWHM = 2.354(\sigma/2)$

However, I need to program this into a system, and of course isolating for sigma from B doesnt produce a single answer, instead it gives me two. And then you end up with two FWHM.

Can anyone tell me what I'm doing wrong?

$\endgroup$
2
  • $\begingroup$ Perhaps you mean $b = \frac{1}{\sigma}$? $\endgroup$
    – eigenchris
    Jul 21, 2015 at 17:52
  • $\begingroup$ I dont think so, but I could be wrong. This is simply a reworked version of a normal Gaussian, so this: upload.wikimedia.org/math/5/a/4/… $\endgroup$
    – RNPF
    Jul 21, 2015 at 17:55

1 Answer 1

1
$\begingroup$

Note that the standard form of the Gaussian is $$pe^{-\dfrac{(x-q)^2}{2r^2}}$$

In your equation, we have $-\frac{1}{2r^2}=-b^2$, thus $r^2=\frac{1}{2b^2}$, thus $r=\sigma=\pm\sqrt{\frac{1}{2b^2}}$. However, the standard deviation is always positive.


Therefore the results are:

$$\sigma=\sqrt{\frac{1}{2b^2}}=\frac{\sqrt{2}}{2b}$$

$$\mathrm{FWHM} = 2 \sqrt{2 \ln 2} \sigma \approx 2.35482\sigma$$

$\endgroup$
2
  • $\begingroup$ Oh- Im an idiot. Thanks a ton for the help! $\endgroup$
    – RNPF
    Jul 21, 2015 at 18:06
  • $\begingroup$ You are welcome. $\endgroup$
    – wythagoras
    Jul 21, 2015 at 18:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .