Skip to content
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

Added Time/Frequency Series SNR functionality #93

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

LudoDe
Copy link

@LudoDe LudoDe commented Aug 20, 2024

Added a few functions to the utilities module to calculate the SNR of a Frequency series, and to transform a time series to a Frequency series.
Added a tutorial to quickly illustrate this in the form of a Notebook.

@jacopok
Copy link
Collaborator

jacopok commented Aug 21, 2024

Looks good! The only thing I would say is that there appears to be some duplication between the function get_SNR_components and the already existing get_snr; they are slightly different but it would be nice to have a single function to do everything (since it's the same task, conceptually).

@LudoDe
Copy link
Author

LudoDe commented Aug 28, 2024

I modified get_snr to have a variable / flag for series, and when it is present it just does what get_SNR_components used to do, it is a bit ugly in code but (so far) seems to have the same functionality

removed if statement from get_snr function (reverted to previous functionality)

renamed get_SNR_from_strains to get_SNR_from_series
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.

3 participants