Previous topic

nmrglue.process.pipe_proc.lpc

Next topic

nmrglue.process.pipe_proc.ann

This Page

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')

2D Linear Prediction using LP2D procedure

Applies the LP2D procedure as described in: G. Zhu and A. Bax, Journal of Magnetic Resonance, 1992, 98, 192-199. to the data matrix. Parameters differ from NMRPipe because this function is not well documented.

Parameters:

  • dic Dictionary of NMRPipe parameters.

  • data array of spectral data.

  • xOrd Linear Prediction X dimension order.

  • yOrd Linear Prediction Y dimension order.

  • xSize New size of Y-axis, ‘default’ double size.

  • ySize New size of Y-axis, ‘default’ double size.

  • xMirror ‘0’ or ‘180’ indicating how the mirror image of the X-axis

    should be formed. ‘0’ indicated no delay, ‘180’ for a half-point delay.

  • yMirror ‘0’ or ‘180’ indicating how the mirror image of the Y-axis

    should be formed. ‘0’ indicated no delay, ‘180’ for a half-point delay.

  • fix_pts Set to True to reduce predicted points with magnitude larger

    than the largest data point. False leaved predicted points unaltered.

  • method Method used to calculate the LP prediction matrix, choose from

    ‘svd’,’qr’,’cholesky’, or ‘tls’.