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

Timeseries data consistency #7

Open
CrashLaker opened this issue Aug 23, 2019 · 0 comments
Open

Timeseries data consistency #7

CrashLaker opened this issue Aug 23, 2019 · 0 comments

Comments

@CrashLaker
Copy link

How to cope when shrinking a timeseries dataset?

I noticed that:
x = Array.apply(null, Array(y.length)).map(function (_, i) {return i;}) in index.html only gives us the indexes related to y`s length

I tried doing something like this but I doubt its correctness..

smooth_val = 100
var y = smooth(rsdata["values"], smooth_val)
step - Math.ceil(rsdata["timestamps"].length/smooth_val)
x = rsdata["timestamps"].filter((x,i) => i%step == 0)

does anyone have a solution?

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

1 participant