Skip to content

Added Time/Frequency Series SNR functionality#93

Open
LudoDe wants to merge 7 commits into
janosch314:mainfrom
LudoDe:main
Open

Added Time/Frequency Series SNR functionality#93
LudoDe wants to merge 7 commits into
janosch314:mainfrom
LudoDe:main

Conversation

@LudoDe

@LudoDe LudoDe commented Aug 20, 2024

Copy link
Copy Markdown

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

jacopok commented Aug 21, 2024

Copy link
Copy Markdown
Collaborator

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

LudoDe commented Aug 28, 2024

Copy link
Copy Markdown
Author

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