Generates up to four gaussian peaks (I was too lazy to make it more general)
1 | gaussgen(peakNumber, fixedParameters, wavelength)
|
peakNumber |
The number of peaks you want to generate |
fixedParameters |
a list of fixed centres and half widths at half maximum. Centres are named "c1 = " etc., and widths as "w1 = " etc. |
wavelength |
the wavelength of the dataset you want to fit the peaks to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.