lamp_mac/STEF/
fun_gauss.pro
top fun_gauss
result = fun_gauss(xinput, center=center, fwhm=fwhm, height=height, INT=INT)
******* ********* ** This function returns the gaussian giving the parameters of a gaussian ** The expression is: ** p1=center p2=FWHM p3=height (intensity is P3*P2P*SQRT(!PI)) ** fun_gauss(x)=(P3/(p2'*sqrt(PI))*EXP(-(x-P1)^2/(P2')^2) ** in that case, P2'=P2/(2sqrt(Ln(2))) is not the FWHM
Parameters
- xinput
Keywords
- center
- fwhm
- height
- INT
File attributes
Modification date: | Tue Oct 1 14:40:15 2013 |
Lines: | 17 |