Skip to content
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

Allow TimeSlice to work on time offsets (relative time) #27

Open
hovren opened this issue Mar 4, 2025 · 0 comments
Open

Allow TimeSlice to work on time offsets (relative time) #27

hovren opened this issue Mar 4, 2025 · 0 comments

Comments

@hovren
Copy link

hovren commented Mar 4, 2025

TimeSlice requires start and end to be absolute timestamps within the event stream.
In many cases we might be interested to get "the first five seconds of data" which is currently a bit cumbersome.

I suggest adding a relative=True|False keyword to TimeSlice, defaulting to False to retain the current mode. When relative=False the start and end timepoints are to be considered offsets to the start of the stream, instead of absolute timestamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant