ramanspy.preprocessing.misc.Cropper

class ramanspy.preprocessing.misc.Cropper(*, region: Tuple[Number, Number])[source]

Crop the intensity values and the shift axis associated with the band range(s) specified.

Parameters:

region (tuple of two elements) –

The band intervals to crop (in cm^{-1}).

For instance:

  • [(None, 300)] - keeps the bands < 300cm-1

  • [(3000, None)] - keeps the bands > 3000cm-1

  • [(700, 1800)] - keeps the bands between 700 and 1800 (i.e. the “fingerprint” region)

__init__(*, region: Tuple[Number, Number])[source]

Methods

__init__(*, region)

apply(raman_objects)

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