nmrglue.process.proc_lp.fix_roots
- nmrglue.process.proc_lp.fix_roots(poles, fix_roots='incr', fix_mode='reflect')[source]
Fix (stabilize) LP roots.
- Parameters
- polesndarray
Array of LP roots (poles).
- fix_roots{‘incr’, ‘decr’}
Type of roots which to consider bad and to stabilize. Either those with increasing signals ‘incr’ or decreasing signals ‘decr’.
- fix_mode{‘on’, ‘reflect’}
Method used to stabilize bad roots, ‘on’ to move the roots onto the unit circle, ‘reflect’ to reflect bad roots across the unit circle.
- Returns
- npolesndarray
Array of stabilized LP roots (poles).