nmrglue.process.proc_base.zd

nmrglue.process.proc_base.zd(data, window, x0=0.0, slope=1.0)[source]

Zero Diagonal band with generic window function.

Parameters
datandarray

Array of NMR data.

windowndarray

Window to apply to diagonal band.

wideint

Diagonal band half width in points.

x0int

Starting location of diagonal band in points.

slopefloat

Slope of diagonal band.

Returns
ndatandarray

Array of NMR data with diagonal band set to zero.