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

Continuous update for real-time application #61

Open
CSharpDummy opened this issue Jun 1, 2024 · 1 comment
Open

Continuous update for real-time application #61

CSharpDummy opened this issue Jun 1, 2024 · 1 comment

Comments

@CSharpDummy
Copy link

Is there a way to update the calculation when a new time series data point becomes available?
Or is the only way to calculate based on a rolling window of fixed size?

@fastlib
Copy link
Owner

fastlib commented Jan 6, 2025

For now, the only way is to calculate a new window that overlaps with the previous calculate time-frequency matrix. For 99% of real-world cases, this is sufficient. Think about this. If your lowest frequency is 1Hz, you only need to calculate a rolling window of 1s. If your frequency is way lower, say 0.01Hz, in theory, you need a window of 100s. However, you can ask yourself whether you want to recalculate such a frequencyband every second... In the end, it's a very slow moving wave which means it's 'quite' stationary for short timespans.

In short, yes, the only way is using a moving window, but this is not necessarily bad due to the theory behind frequencies.

Good luck!

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