Skip to content
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

Is a constant sampling rate required? #75

Open
lcs-crr opened this issue Jul 2, 2024 · 2 comments
Open

Is a constant sampling rate required? #75

lcs-crr opened this issue Jul 2, 2024 · 2 comments

Comments

@lcs-crr
Copy link

lcs-crr commented Jul 2, 2024

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
Copy link
Member

jvdd commented Jul 2, 2024

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

@lcs-crr lcs-crr closed this as completed Jul 2, 2024
@lcs-crr lcs-crr reopened this Jul 9, 2024
@lcs-crr
Copy link
Author

lcs-crr commented Jul 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants