nmrglue.process.proc_bl.med

nmrglue.process.proc_bl.med(data, mw=24, sf=16, sigma=5.0)[source]

Median baseline correction.

Algorith described in: Friedrichs, M.S. JBNMR 1995 5 147-153.

Parameters :

data : 1D or 2D ndarray

Array of 1D or 2D NMR data.

mw : float

Median window size in pts.

sf : float

Smooth window size in pts.

sigma : float

Standard-deviation of convoluted Gaussian window.

Returns :

ndata : 1D or 2D ndarray

NMR data with the median baseline subtracted.

Previous topic

nmrglue.process.proc_bl.cbf_explicit

Next topic

nmrglue.process.proc_bl.sol_general

This Page