Use Linear Prediction to model a 1D NMR signal.
Parameter:
trace 1D trace of data, the FID.
slice slice object selecting region of slice to use in LP equation.
order Prediction order (Number of LP coefficients)
image of the sliced trace to calculate the LP filter. ‘0’ should be used with data with no delay, ‘180’ with data with an initial half-point delay.
mode Mode to generate LP filter (f-forward,b-backward,
‘svd’,’qr’,’choleskey’,’hsvd’.
by performing a least squares fitting. False returns only the damping (relaxation) factors and signal frequencies
Notes:
When backward LP is used the signal roots are reflected before calculating model parameters.