ramanspy.preprocessing.protocols.georgiev2023_P3
- ramanspy.preprocessing.protocols.georgiev2023_P3(normalisation_pixelwise: bool = True, fingerprint: bool = True) Pipeline[source]
The third preprocessing protocol used in the paper by Georgiev et al. (2023) [1].
Consists of the following steps:
optional: spectral cropping to the fingerprint region (700-1800 cm-1);
cosmic ray removal with Whitaker-Hayes algorithm;
baseline correction with polynomial fitting of order 3;
Vector normalisation.
- Parameters:
normalisation_pixelwise (bool, optional) – Whether to apply normalisation for each pixel individually or not. Default is
True.fingerprint (bool, optional) – Whether to crop the spectra to the fingerprint region (700-1800 cm-1) or not. Default is
True.
References
Example
pipeline = preprocessing.protocols.georgiev2023_P3() preprocessed_data = pipeline.apply(data)