The following functions are useful when generating peaks with various shapes. See the examples for using them during peak fitting for instance.
gaussiennes
lorentziennes
pearson7
pseudovoigts
peakmeas
Spectra.jl provides functions that allow one to integrate the area under a region of a spectrum, or to calculate the area under Gaussian, Lorentzian or other bands.
trapz
bandarea
poly