Add more decimate options
See original GitHub issueRight now, the HoloViews decimate
operator randomly samples from the available data, dynamically on each zoom or pan. This is often a useful behavior, particularly for disconnected plots like Scatter, but for connected plots like Curve (e.g. timeseries) and Path, the results are chaotic and not a particularly good representation of the underlying data. For such cases, other options would be more useful:
- Regular sampling: Regularly spaced downsampling (slicing with a stride) should be trivial to implement and would give a good approximation to the shape of smooth curves.
- Outlier preserving: Some algorithms like Largest Triangle are better at preserving outliers, but may be slower and definitely would take more work to implement.
- Mean aggregation: It would be slower than sampling, but one could aggregate over the data points in each stride chunk to take the mean, so that all data points at least affect the result.
If we implemented multiple types of sampling, the policy could be selected by mode='random'
, mode='regular'
, etc. We might want the default to be mode=None
, where a mode appropriate to that Element type (e.g. random for Scatter and Points) would be selected.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Decimate Modifier — Blender Manual
The Decimate modifier allows you to reduce the vertex/face count of a mesh with minimal shape changes. This is not usually used on...
Read more >Blender Decimate Modifier (Full Tutorial)
Navigate to the modifier tab in the Properties Panel. Choose “Add Modifier” and we find “Decimate” in the column labeled “Generate.” When the...
Read more >How To Use Decimate Modifier in Blender - Create 3D Art
The Un-Subdivide option can be used if the model had previously been Subdivided using the Subdivision Surface modifier. It lets you to decimate...
Read more >Blender - Using the Decimate Geometry tool to reduce triangle ...
Select the model and switch to Edit Mode. · Select Mesh > Clean up > Decimate Geometry from the bottom menu. · In...
Read more >Reducing Your Geometry With The Decimate Modifier
To use the decimate modifier in Blender, select your object and then go to the modifiers tab in the properties panel. Go to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like I duplicated my own issue 4 years later: https://github.com/holoviz/holoviews/issues/5359
5359 includes links to LTTB sample code; please see that for details.
No, it’s wide open for any interested user to dive into, and should be an easy win!