nmrglue.process.pipe_proc.med

nmrglue.process.pipe_proc.med(dic, data, nw=24, sf=16, sigma=5.0)[source]

Median baseline correction

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

nw : int

Median window size in points.

sf : int

Smoothing filter size in points.

sigma : float

Gaussian convolution width.

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

Array of NMR data with an median baseline correction applied.

Notes

This function applies Friendrich’s model-free baseline flatting algorithm (Friendrichs JBNMR 1995 5 147-153). NMRPipe applies a different and unknown algorithm.

Previous topic

nmrglue.process.pipe_proc.cbf

Next topic

nmrglue.process.pipe_proc.sol

This Page