Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rho calculation and complex number handling in arburg2 algorithm
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.
- Loading branch information