Mathematical function producing the baseline you want.
The generator instance.
Add noise to the spectrum.
Optional
options: NoiseOptionsConfiguration for noise generation.
The generator instance.
Add a single peak to the spectrum. A peak may be either defined as [x,y,fwhm,...] or as {x, y, shape}
The peak to add, defined as array or object.
Options for adding the peak.
The generator instance.
Add a series of peaks to the spectrum.
Peaks to add.
Optional
options: PeakOptionsOptions for adding peaks.
The generator instance.
Get the generated spectrum.
Options for getting the spectrum.
The generated spectrum data.
Resets the generator with an empty spectrum.
The generator instance.
Add a baseline to the spectrum.