Skip to content

Algorithm to reduce the number points of points for a time series #3

@avilchess

Description

@avilchess

Is your feature request related to a problem? Please describe.
We need to be able to reduce points from series that do not fit on a chart.

Describe the solution you'd like
I want to have a function that reduces the number of points from a time series while it keeps its original shape. I think that visvalingam algorithm is the ideal candidate.

i.e. reduced_series = reduce_points(original_series, max_points)

We need a function like the previous one, where we can reduce the number of points to max_points.

Describe alternatives you've considered
Other possible solutions are PIP, PLA or the well known ramer-douglas-pecker.
Additional context
It is just a tool for reducing the number of points from a series that needs to be plotted.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions