Mathematical function producing the baseline you want.
Add noise to the spectrum.
Optional
options: NoiseOptionsAdd a single peak to the spectrum. A peak may be either defined as [x,y,fwhm,...] or as {x, y, shape}
Add a series of peaks to the spectrum.
Peaks to add.
Optional
options: PeakOptionsGet the generated spectrum.
Resets the generator with an empty spectrum.
Add a baseline to the spectrum.