-
Notifications
You must be signed in to change notification settings - Fork 50
Refactor DOLfYN PSD Scripts to use Scipy.Signal.Welch #452
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
Open
jmcvey3
wants to merge
45
commits into
MHKiT-Software:develop
Choose a base branch
from
jmcvey3:pwelch
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
e38314a
Fixes for spectral averaging, adding millidecade support
jmcvey3 f3c6add
Fix some pylint problems, use consistent bands functionality
jmcvey3 25513e7
Remove extra generated octave band, improve millidecade code
jmcvey3 34d24d8
Minor formatting changes
jmcvey3 7fde10a
I believe I've corrected this indexing conversion from matlab properl…
jmcvey3 5b4f27d
One last correction to get spectrograms to look similar
jmcvey3 848c3f4
Add start_offset back in
jmcvey3 f98f4d8
Update acoustics notebook
jmcvey3 41dd969
Technically this is correct as well
jmcvey3 774bfc3
Use UW's function to do the band calculations
jmcvey3 852dd43
Add tests for new banding functions
jmcvey3 64523d4
Split SPSD band averaging into two functions in order to use frequenc…
jmcvey3 b6f1dc9
Update SPL tests
jmcvey3 c0058de
Fix pylint issues
jmcvey3 bbfd96f
Add relative tolerance to spl tests so they don't fail python 3.10, c…
jmcvey3 674bc8d
Add reader for WISPR recorder, improve export_audio function
jmcvey3 7aaf354
Add tests for wispr datafile
jmcvey3 0308495
Make sure gain is saved in raw datasets
jmcvey3 b77ab1c
Attempt to fix python 3.10 problem with export_audio function
jmcvey3 ad76291
pylint
jmcvey3 446cdd3
pandas problems
jmcvey3 f71d4db
Update docstrings with paper citation
jmcvey3 033e9e9
Initial refactor
jmcvey3 bee79de
Refactoring tools folder
jmcvey3 7cadb81
Remaining test cleanup
jmcvey3 e479893
Progress at removing structural n_bin limitations
jmcvey3 bfef88f
Do correct windowing and overlap for welch algorithm
jmcvey3 e605d9a
Refactor 'reshape' function to use step input and sliding windows
jmcvey3 3c07ff8
Remove rms flag in acoustic PSD calcs because it's already accomplish…
jmcvey3 b070f8e
Rerun example notebooks
jmcvey3 cd132fe
Change PSD time coordinate to 'time_psd' and update turbulence functi…
jmcvey3 adfce24
Don't import entire scipy package in this file
jmcvey3 86f5536
Reduce breaking changes in turbulence code by not interpolation if ps…
jmcvey3 e7cd0c3
Merge branch 'develop' into pwelch
jmcvey3 a7ad3a1
Use scipy to compute fft frequency, and so remove _fft_freq function …
jmcvey3 dfa0ec0
Don't change name of 'time_bin' coordinate, update acoustics example …
jmcvey3 81d1ca0
Update acoustic module tests and correct docstring language and notebook
jmcvey3 ca2afa0
Update tests, clean up ADVBinner class and use a proper init function
jmcvey3 ad4127a
Datatype and PSD overlap test cleanup
jmcvey3 7f4787f
Recover adcp notebook updates from #488
jmcvey3 96113ad
Update ADCP waves notebook
jmcvey3 9b98097
Minor fixes
jmcvey3 cdc8018
Update window type docstring for PSD
jmcvey3 4b39ece
Un-hardcode 'time_psd' variable name and use dimension placement
jmcvey3 fc041c4
Pylint insists users can't have everything they want
jmcvey3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
There are a lot of changes to this file here and in #448 but I don't see any conflicts. Are these changes merged together to include the plots from the MATLAB notebook that @browniea added in #448?
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.
Oh shoot no I think those got lost
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.
K, that notebook is updated based on 448