nmrglue.process.pipe_proc.base

nmrglue.process.pipe_proc.base(dic, data, nl=None, nw=0, first=False, last=False)[source]

Linear baseline correction.

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

nllist

List of baseline node points.

nwint

Node width in points.

firstbool

True to include the first point in the node list.

lastbool

True to include the last point in the node list.

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data with a linear baseline correction applied.