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
Update contour-utils.js normalizeSeries to do filtering #202
Conversation
…ased on desired number of pts Conflicts: dist/contour.js dist/contour.min.js dist/contour.min.js.map
Anything you want me to do to make it easier to merge this? I can revert the /dist folder if you need. |
Hi billy, I'm thinking of what would be the correct way to incorporate the point simplification into the data workflow. I'm not sure about 'loosing' the data points on normalization, because the next visualization may actually use the full data set do display other characteristics of the data. That's why I liked the idea of filtering the data that you will be rendering not not the original data set. Also, I think we should provide a way to specify or pass in different filtering/data simplification functions so the user decides what's the best way to simplify the data. What do you think? PD. Yes we also need to remove the /dist from the PR :) |
I definitely agree with the ability to pass a custom filtering function. As for where to 'loose' the data it depends on if we want all My answer after thinking about it is per visualization. Do you agree? On Tue, Feb 10, 2015 at 4:30 PM, Jaime del Palacio <notifications@github.com
|
Yes, I think the simplification should be per visualization without modifying the original data set. How about something like this:
Then you would use it something like:
the then inside the
What do you think? (not crazy about the |
I like the idea of a preprocess function per viz How about we call it a dataFilter? Then the filter I coded could be bound to _.nw.dataFilters.minMaxFilter On Wed, Feb 11, 2015 at 12:35 PM, Jaime del Palacio <
|
Sorry for the delay, dataFilters sounds good |
Closing in favor of optimization2 pull request |
Filter data to a desired num pts (configurable with new data object ({filter:true, filterNumPts:1000}))
Always keeps first/last -- and then for all the ones in the middle it grabs the high/low per interval