nmrglue.process.proc_bl.cbf_explicit

nmrglue.process.proc_bl.cbf_explicit(data, calc=slice(None, None, None), apply=slice(None, None, None))[source]

Constant Baseline correction from an explicit region of the data.

Parameters :

data : 1D or 2D ndarray

Array of 1D or 2D NMR data.

calc : slice, optional

Slice describing region to use for calculating the baseline correction.

apply : slice, optional

Slice describing first-axis region(s) to which the baseline correction should be applied. Parameter is ignored for 1D data.

Returns :

ndata : 1D or 2D ndarray

NMR data with a constant baseline subtracted.

Previous topic

nmrglue.process.proc_bl.cbf

Next topic

nmrglue.process.proc_bl.med

This Page