spectrum
spectrum copied to clipboard
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.
Is this package is no longer maintained?