Skip to content

Significant points are filtered out #10

@SleepyPrince

Description

@SleepyPrince

The current implementation of get_local_max_and_min_idx only saves a point when it passes the current moving average. When there is a slack period between 2 points in the same region (both lower or both upper), the latter point gets filtered out which causes incorrect representation of the movement.
action
For the example above, green is actual movement and orange is generated movement.
Whether a slack/pause shall be filtered or not shall be determined by a time threshold parameter. (e.g. first short pause at the top)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions