Convolve

Convolution implementations.

Deconvolution is used by DGet to recover the original deuteration pattern from a given mass spectrum.

dget.convolve.deconvolve(x: ndarray, psf: ndarray) Tuple[ndarray, ndarray]

Inverse of convolution.

Deconvolution is performed in frequency domain.

Parameters:
  • x – array

  • psf – point spread function

Returns:

recovered data remainder

Notes

Based on https://rosettacode.org/wiki/Deconvolution/1D