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
dicdict

Dictionary of NMRPipe parameters.

datandarray

Array of NMR data.

xOrdint

X dimension linear prediction order.

yOrdint

Y dimension linear prediction order.

xSizeint

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

ySizeint

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_ptsbool

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
ndicdict

Dictionary of updated NMRPipe parameters.

ndatandarray

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.