spectrum icon indicating copy to clipboard operation
spectrum copied to clipboard

Fix rho calculation and complex number handling in arburg2 algorithm

Open cl445 opened this issue 1 year ago • 1 comments

This commit addresses two key issues in the Burg algorithm implementation. First, it corrects the calculation of rho to maintain its initial value throughout the algorithm, ensuring it accurately represents the total power of the input signal. Second, it resolves a ComplexWarning by explicitly using the real part of complex calculations, aligning with the expected behavior of the algorithm for real-valued signals.

cl445 avatar Dec 23 '23 22:12 cl445

Is this package is no longer maintained?

cl445 avatar Jul 07 '24 10:07 cl445