ramanspy.preprocessing.protocols.georgiev2023_P1

ramanspy.preprocessing.protocols.georgiev2023_P1(normalisation_pixelwise: bool = True, fingerprint: bool = True) Pipeline[source]

The first 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;

  • denoising with a Gaussian filter;

  • baseline correction with Asymmetric Least Squares;

  • Area under the curve 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_P1()
preprocessed_data = pipeline.apply(data)