nmrglue.process.proc_bl.sol_general

nmrglue.process.proc_bl.sol_general(data, filter, w=16, mode='same')[source]

Solvent filter with generic filter.

Algorithm described in: Marion et al. JMR 1989 84 425-430

Parameters :

data : 1D or 2D ndarray

Array of 1D or 2D NMR data.

filter : ndarray

Filter to convolve with data. Not used in solvent filter functions which specific the filter, e.g. sol_boxcar.

w : int, optional

Filter length. Not used here but is used in solent filter functions which specificy the filter, e.g. sol_boxcar.

mode : {‘valid’, ‘same’, ‘full’}, optional

Convolution mode, ‘same’ should be used.

Returns :

ndata : 1D or 2D ndarray

NMR data with solvent filter applied

Previous topic

nmrglue.process.proc_bl.med

Next topic

nmrglue.process.proc_bl.sol_boxcar

This Page