nmrglue.process.proc_bl.calc_bl_linear

nmrglue.process.proc_bl.calc_bl_linear(x, nl, nw=0)[source]

Calculate a baseline using linear approximation between nodes

Parameters
x1D ndarray

One-dimensional NMR data.

nllist

List of baseline nodes

nwfloat

Node half-width in points

Returns
baselinendarray

Base calculated using linear approximation between nodes.