-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add multi-rate resampling #163
base: dev
Are you sure you want to change the base?
Conversation
Add spline interpolation
This is great. Would be curious to
|
Definitely. We can play around a bit with what frequencies we go to/where the transition points are. Just messing around a bit, if we have a 5-5 system from 32 Hz, it takes about 5.5 seconds to merge, and has a final frequency of 438 Hz (at least, to whatever order This results in a window of size 2304, which is smaller than our current window. I did a little benchmarking and found that the resampler could process a tensor of shape |
Adds a transform that takes a timeseries at a given sample rate and returns a timeseries with different segments at different sample rates.
Rather than splitting the timeseries into component segments and resampling each individually, this resamples the entire timeseries multiple times, splitting and concatenating to get the final result. This is less computationally efficient, but avoids having multiple resampled edges in the final product. Some kind of in-between solution is probably better, splitting the original timeseries into overlapping segments that get resampled and cropped.
Need to add testing as well.