https://github.com/raman-noodles/raman-spectra-decomp-analysis/blob/ca322ff1c1207a45d667eb6071d3a5735d4346f8/ramandecompy/interpolatespectra.py#L199