-
Notifications
You must be signed in to change notification settings - Fork 3
Feature periodic score #12
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
Conversation
A-Tarraf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor issues. The test needs to be fixed, as the arguments for autocorrelation changed. I'll fix the bugs
| f"{phi_array[i]:.3e}", | ||
| wave_name, | ||
| ) | ||
| if len(periodicity_array) > 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overkill, can be simplified for future versions
- Reworked periodicity detection logic for increased modularity and flexibility. - Standardized argument handling by replacing boolean defaults with `None` for clarity. - Updated test cases and documentation to reflect changes (`README.md`, `args.py`). - Optimized output generation with dynamic table column generation. - Removed redundant and commented-out code for cleaner implementation. - Enhanced script execution to support refined periodicity methods: RPDE, SF, correlation, and individual period correlation.
Added new periodicity score, including RPDE, Spectral Flatness Entropy Methods and a correlation approach to determine how periodic the signal is in the entire signal or parts of the signal with a specific frequency.