nmrglue.process.proc_base.corr

nmrglue.process.proc_base.corr(data, kern=[1.0], m='wrap', c=0.0)[source]

Correlate data with a kernel (weights).

Real and imaginary components of data are correlated seperately.

Parameters
datandarray

Array of NMR data.

kernarray_like

Correlation kernel (weights).

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

How edges of correlation are dealt with.

cfloat

Constant value for use when m is ‘constant’.

Returns
ndatandarray

NMR data which has been correlated with the given kernel.