Generates a spectrum and returns it.
List of peaks to put in the spectrum.
Configuration for spectrum generation.
The generated spectrum data.
Generates a spectrum and returns it.