nmrglue.process.proc_lp.extrapolate

nmrglue.process.proc_lp.extrapolate(trace, a, pred, append)[source]

Extrapolate points using LP prediction filter.

Parameters :

trace : 1D ndarray

1D array to extrapolate from and append to.

a : ndarray

LP coefficients, must be ordered according to direction of extrapolation.

pred : int

Number of points to predict using LP.

append : {‘a’, ‘b’}

Location to append new points, ‘a’ for after the current data, ‘b’ for before the current data.

Returns :

ntrace : 1D ndarray

1D array with extrapolated points appended

Previous topic

nmrglue.process.proc_lp.fix_roots

Next topic

nmrglue.pipe_proc

This Page