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. If False, spectra are divided by the norm of the spectra with the largest norm in the given ramanspy.SpectralContainer instance.

__init__(*, pixelwise: bool = True)[source]

Methods

__init__(*[, pixelwise])

apply(raman_objects)

Applies the defined preprocessing method on the Raman spectroscopic objects provided.