AbsorptionSpectrum class

The AbsorptionSpectrum class represents a generated absorption spectrum, and is outputted by all models.

The class can be used to:

  • Access the spectrum’s x and y data as arrays.

  • Save the spectrum or spectrum plot to a file.