subtract


Description:

[ Version ( since = "1.3.1" ) ]
public Spectrum subtract (Spectrum s2, double resolution)

Subtracts one spectral plot from another.

If the spectra have the same start, end and the same number of data points they are not resampled.

Parameters:

this

a Spectrum instance, e.g. a sample

s2

a Spectrum instance, e.g. a dark calibration

resolution

the resolution to use when resampling

Returns:

a Spectrum instance




2022 vala-language.org