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
- data1D or 2D ndarray
Array of 1D or 2D NMR data.
- filterndarray
Filter to convolve with data. Not used in solvent filter functions which specific the filter, e.g. sol_boxcar.
- wint, 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
- ndata1D or 2D ndarray
NMR data with solvent filter applied