nmrglue.process.proc_lp.extrapolate
- nmrglue.process.proc_lp.extrapolate(trace, a, pred, append)[source]
Extrapolate points using LP prediction filter.
- Parameters
- trace1D ndarray
1D array to extrapolate from and append to.
- andarray
LP coefficients, must be ordered according to direction of extrapolation.
- predint
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
- ntrace1D ndarray
1D array with extrapolated points appended