raman.correct_t0

raman.correct_t0(t, d, c)

Shift all frequency columns in d along the time axis to correct t0 to 0.

Parameters:
  • t (array) – Time axis.
  • d (array) – 2d array containing spectra vs time.
  • c (array) – Time t0 for each wavelength / wavenumber, e.g. obtained by cross-correlation.
Returns:

Shifted spectra with time t0 at zero, same shape as d.