nmrglue.process.pipe_proc.smo

nmrglue.process.pipe_proc.smo(dic, data, n=1, center=False)[source]

Smooth data.

Parameters
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

nint

Size of smoothing window in points.

centerbool

True will perform perform a centering on the data (subtract the smoothed data). False returns the smoothed data.

Returns
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

Array of NMR data which has been smoothed or centered.