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 :

data : ndarray

Array of NMR data.

kern : array_like

Convolution kernel

m : {‘reflect’, ‘constant’, ‘nearest’, ‘wrap’}

How edges of convolution are dealt with.

c : float

Constant value for use when m is ‘constant’.

Returns :

ndata : ndarray

NMR data which has been convolved with the given kernel.

Previous topic

nmrglue.process.proc_base.conv

Next topic

nmrglue.process.proc_base.corr

This Page