comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: help with gaussfit
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: help with gaussfit [message #35344] Mon, 09 June 2003 07:16
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Tapuosi Lotoaniu <lotoaniu@atmos.ucla.edu> writes:


> Hi,
>
> given,
>
> yfit = gaussfit(x,y,A)
>
> I know that A(0) = height, and A(1) = centre of gaussian. How is the width
> A(2) defined? How do I get FWHM from the value?

A(2) is the 1-sigma width, as in exp(-(x-xmean)^2/(2*sigma^2)).

You should derive the conversion from sigma to full width half maximum
yourself, (just set the gaussian to 1/2 and solve for x in terms of
sigma), but it's close to 2.35.

Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: more difficulties in IDL - C++ combination
Next Topic: rs_test.pro

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 21:31:33 PDT 2025

Total time taken to generate the page: 0.87808 seconds