-
Notifications
You must be signed in to change notification settings - Fork 37
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
Weird effect at end of resampled signal #62
Comments
Update: this does indeed seem to be a bug, due to this line subtracting off the left-hand array bound when calculating the right-hand array bound. Removing that subtraction brings the boundary effects down to where I would expect them: At this point though, I'm wondering if it makes more sense to calculate a symmetric array bound for time Thanks @bolau for reporting this! |
Fix is merged, I'll push the bugfix release later today and it should appear on conda-forge shortly thereafter. The fix as implemented is, I think, the correct thing to do if we assume the input signal is zero outside of the observations. More generally, I could imagine it being useful to support other edge modes, which might be useful depending on the assumptions you're willing to make about your signals. I've created a new issue #64 for that. I probably won't have time to implement that in the immediate future, but I'm happy to help any newcomers that want to work on it. |
Thanks a lot, this looks much better :) |
Hi,
when resampling a signal I get a weird effect at the end. It consists of a reduced amplitude plus a nasty noise. Is this normal, a bug or am I doing something wrong? Here are plots for a linear and a sine signal:
I'm using the current resampy master from GitHub (3e76335), all other packages are installed from conda / virtualenv.
Here's the code that produces the plots:
And here my environment (virtualenv freeze):
It would be great if you could have a look into this problem. Please let me know if I can do something to help you reproduce it.
Best, Boris
The text was updated successfully, but these errors were encountered: