[ 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.
this |
a Spectrum instance, e.g. a sample |
s2 |
a Spectrum instance, e.g. a dark calibration |
resolution |
the resolution to use when resampling |
a Spectrum instance |