Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
peak_shapes [2015/11/18 01:47]
rowlesmr3
peak_shapes [2015/11/18 01:48]
rowlesmr3
Line 21: Line 21:
 Lognormal Lognormal
 <code topas>​macro & lognormal(&​ int, & posn, & fwhm, & x) { <code topas>​macro & lognormal(&​ int, & posn, & fwhm, & x) {
- int/​(Sqrt(2 Pi) LN_sigma(p,w) x) Exp(-((Ln(x)-LN_mu(p,w))/(Sqrt(2) LN_sigma(p,w)))^2)+ int/​(Sqrt(2 Pi) LN_sigma(posn,fwhm) x) Exp(-((Ln(x)-LN_mu(posn,fwhm))/(Sqrt(2) LN_sigma(posn,fwhm)))^2)
 } }
  

Personal Tools