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 :

poles : ndarray

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 :

npoles : ndarray

Array of stabilized LP roots (poles).

Previous topic

nmrglue.process.proc_lp.reverse_filter

Next topic

nmrglue.process.proc_lp.extrapolate

This Page