nmrglue.process.proc_bl.cbf
- nmrglue.process.proc_bl.cbf(data, last=10, apply=slice(None, None, None))[source]
Constant baseline correction from percentage of data.
- Parameters
- data1D or 2D ndarray
Array of 1D or 2D NMR data.
- lastfloat, optional
Percent (0 - 100) of last axis used to calculate the baseline correction.
- applyslice, optional
Slice describing first-axis region(s) to which the baseline correction should be applied. Parameter is ignored for 1D data.
- Returns
- ndata1D or 2D ndarray
NMR data with a constant baseline subtracted.