-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dont repeat dpss window calc #135
base: main
Are you sure you want to change the base?
Conversation
2ca7911
to
a21d485
Compare
Codecov Report
@@ Coverage Diff @@
## main #135 +/- ##
==========================================
- Coverage 87.88% 87.83% -0.06%
==========================================
Files 7 7
Lines 1502 1504 +2
==========================================
+ Hits 1320 1321 +1
- Misses 182 183 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Just one thing that I think should be unit tested and isn't currently.
if fundamental_period is None: | ||
fundamental_period = np.median(np.diff(x)) * len(x) | ||
fundamental_period = np.median(np.diff(x)) * len(x) * 2 |
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.
I don't understand this change well enough to comment on it, so it's a bit concerning that it's not covered by unit tests.
Eliminate wasteful repeated calculation of DPSS vectors in dpss_operator method.
Depends on #138