tsflex icon indicating copy to clipboard operation
tsflex copied to clipboard

Alignment of feature windows when equal stride

Open jvdd opened this issue 4 years ago • 1 comments

There should at least be an option to conveniently align the feature windows when there is an equal stride (or multiples of the minimal stride).

This issue persists when the windows have different length (e.g., "3 min" and "5min") and have an equal stride (e.g., "2min"). The user would want to have the features aligned on the same index (e.g., after 5 min), and not misaligned (as it is right now) after 3min and 5 min.

I guess we could introduce a keyword argument in the FeatureCollection.calculate for this.

Disclaimer: issue was originally highlighted by @emield12

jvdd avatar Mar 28 '22 14:03 jvdd

PR #62 tackles this (partially) by setting the window_idx="begin" default instead of "end"!

jvdd avatar Jun 07 '22 07:06 jvdd