nmrglue.process.pipe_proc.lp2d

nmrglue.process.pipe_proc.lp2d(dic, data, xOrd=8, yOrd=8, xSize='default', ySize='default', xMirror='0', yMirror='0', fix_pts=True, method='svd')[source]

2D Linear Prediction using LP2D procedure

Parameters :

dic : dict

Dictionary of NMRPipe parameters.

data : ndarray

Array of NMR data.

xOrd : int

X dimension linear prediction order.

yOrd : int

Y dimension linear prediction order.

xSize : int

New size of Y-axis, ‘default’ doubles the current size.

ySize : int

New size of Y-axis, ‘default’ double the current size.

xMirror : {‘0’, ‘180’}

‘ Mode in which the mirror image of the X-axis should be formed. ‘0’ :

indicated no delay, ‘180’ for a half-point delay.

yMirror : {‘0’, ‘180’}

Mode in which the mirror image of the Y-axis should be formed.

fix_pts : bool

True to reduce predicted points with magnitude larger than the largest data point. False leaved predicted points unaltered.

method : {‘svd’, ‘qr’, ‘cholesky’, ‘tls’}

Method used to calculate the LP prediction filter.

Returns :

ndic : dict

Dictionary of updated NMRPipe parameters.

ndata : ndarray

Array of NMR data with 2D linear prediction applied.

Notes

This function applies the LP2D procedure as described in: G. Zhu and A. Bax, Journal of Magnetic Resonance, 1992, 98, 192-199. to the data matrix. The parameters and algorith used in NMRPipe’s LP2D function are not well documented and are not replicated here.

Previous topic

nmrglue.process.pipe_proc.lpc

Next topic

nmrglue.process.pipe_proc.ann

This Page