nmrglue.process.pipe_proc.zd

nmrglue.process.pipe_proc.zd(dic, data, wide=1.0, x0=1.0, slope=0, func=0, g=1)[source]

Zero diagonal band.

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

wide : int

Width of the diagonal band in points.

x0 : int

Starting location of the diagonal band in points.

slope : float

Slope of the diagonal band (X/Y ratio). A value of 0 will determine the slope automatically.

func : {0, 1, 2, 3}

Function to perform zero-ing with. 0 for a boxcar window, 1 for a triangle window, 2 for a sine bell, 3 for a Gaussian.

g : float

Width of Gaussian window in points. Only used if func is 3.

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

Array of NMR data with a diagonal band zero-ed.

Previous topic

nmrglue.process.pipe_proc.smo

Next topic

nmrglue.process.pipe_proc.lp

This Page