ramanspy.preprocessing.denoise.Kernel
- class ramanspy.preprocessing.denoise.Kernel(*, kernel_type, kernel_size: int = 11)[source]
Denoising based on kernel/window smoothers.
- Parameters:
kernel_type (str, {'flat', 'hanning', 'hamming', 'bartlett', 'blackman'}) – The type of kernel to use.
kernel_size (int, optional, default=11) – The size of the window/kernel to use. Must be an odd integer.
Methods
__init__(*, kernel_type[, kernel_size])apply(raman_objects)Applies the defined preprocessing method on the Raman spectroscopic objects provided.