nmrglue.process.proc_base.correlate

nmrglue.process.proc_base.correlate(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 :

data : ndarray

Array of NMR data.

kern : array_like

Correlation kernel (weights).

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

How edges of correlation are dealt with.

c : float

Constant value for use when m is ‘constant’.

Returns :

ndata : ndarray

NMR data which has been correlated with the given kernel.

Previous topic

nmrglue.process.proc_base.corr

Next topic

nmrglue.process.proc_base.filter_median

This Page