nmrglue.process.proc_base.convolute¶
-
nmrglue.process.proc_base.
convolute
(data, kern=[1.0], m='wrap', c=0.0)[source]¶ Convolute data with kernel.
Real and imaginary components of data are convolved seperately.
- Parameters
- datandarray
Array of NMR data.
- kernarray_like
Convolution kernel
- m{‘reflect’, ‘constant’, ‘nearest’, ‘wrap’}
How edges of convolution are dealt with.
- cfloat
Constant value for use when m is ‘constant’.
- Returns
- ndatandarray
NMR data which has been convolved with the given kernel.