predict-idlab/tsdownsample

Is a constant sampling rate required?

Opened this issue · 2 comments

In your Usage window, it says that a constant sampling rate is assumed.
Is that generally the case, or just in the example?
Under Limitations and Assumptions nothing is mentioned, hence the question :)

jvdd commented

Nope, this is not required :)

This library assumes a constant sampling rate if only y is passed to the downsample function. If both x and y are passed, the x data is used to determine the bin sizes / find gaps when downsampling.

Hope this answers your question!

  • Jeroen

Hi Jeroen, but the output data remains variably sampled right?
Is there a way to convert to a fixed sample rate when remapling?