Skip to content

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

Open

Description

@hovren

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions