ramanspy.preprocessing.normalise.Vector
- class ramanspy.preprocessing.normalise.Vector(*, pixelwise: bool = True)[source]
Vector normalisation.
Applied to each spectrum individually.
\[x = x/||x||_{2}\]- Parameters:
pixelwise (bool) – If
True(default), method is applied to each spectrum individually. IfFalse, spectra are divided by the norm of the spectra with the largest norm in the givenramanspy.SpectralContainerinstance.
Methods
__init__(*[, pixelwise])apply(raman_objects)Applies the defined preprocessing method on the Raman spectroscopic objects provided.