Skip to content

Fix rho calculation and complex number handling in arburg2 algorithm #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

cl445
Copy link
Contributor

@cl445 cl445 commented Dec 23, 2023

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.

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
Copy link
Contributor Author

cl445 commented Jul 7, 2024

Is this package is no longer maintained?

Copy link
Owner

@cokelaer cokelaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good for me. @cl445 sorry for the long delay. package maintained but only once in a while. thanks for your help

@cokelaer cokelaer merged commit eba25b3 into cokelaer:master Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants