Augmentation Methods#

AddNoise

Add noise to input data from various probability distributions.

BaselineShift

Adds a constant baseline to the data.

FractionalShift

Shift signals by a random fractional amount using cubic spline interpolation.

GaussianBroadening

Transform spectral data by broadening peaks using Gaussian convolution.

IndexShift

Shift the spectrum a given number of indices between -shift and +shift drawn from a discrete uniform distribution.

SpectrumScale

Scales the data by a value drawn from the uniform distribution centered around 1.0.