raman.reconstruct_FM_spectrum

raman.reconstruct_FM_spectrum(y, delta, MMw=0, bDenoise=False, blOrder=4)

Reconstruct Raman spectrum A from a shifted-excitation of frequency-modulated spectrum A - B.

This algorithm is adapted from Grumstrup et al., J. Phys. Chem. B 117, 8245 (2013).

Note

The difference frequency spectrum y has to be sampled equidistantly, i.e., apply interpolate() before taking the difference.

New in version 01-04-2016.

Parameters:
  • y (array) – Difference spectrum A-B.
  • delta (int) – Index shift between the two spectra. Has to be positive and nu(A) < nu(B).
  • MMw (int) – Window size for moving-median filter (use 5x delta when 0, default).
  • bDenoise (bool) – If True, apply a denoise step before returning the result.
  • blOrder (int) – Polynomial order for baseline removal (default = 4).
Returns:

Reconstructed spectrum with same shape as y.