-
Notifications
You must be signed in to change notification settings - Fork 17
Patch smoothing utility to handle short signals (for backfill) #437
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
Should probably be merged before @chinandrew's refactors go live, so that backfill is handled properly. |
* mostly documentation fixes, confrm to pydocstyle * add missing documentation for the argument boundary_method * remove the len(signal) < window_length constraint; forgot I wrote the boundary methods to handle these cases
b0607ef
to
4d6f65e
Compare
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.
one comment otherwise lgtm
Cool. You know, I'm running into issues where JHU tests are giving the smoother an array full of NANs. That makes me want to change the nan handling to be a bit more permissive (a full array of nans should pass through, an array left-padded with nans should start imputing only once the first value is seen, etc.), so I think I'll handle that in this PR too. |
If it's independent of this change, I'd recommend making it another PR just to keep things clean. |
Noted. I'll do that. |
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.
lgtm, only test failing is the one that #476 fixes.
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.
lgtm
Mostly documentation fixes, confrm to pydocstyle, add missing documentation for the argument boundary_method.
But also I removed the len(signal) < window_length constraint I added at the last minute; I forgot I wrote boundary methods to handle that case a few months ago.