Compute start/end timestamps for each window

window_start_end_times(t, window_length, window_overlap)

Arguments

t

A numeric time vector

window_length

The number of samples per window.

window_overlap

Fraction in the interval [0, 1) specifying the amount of window overlap.

Value

A dataframe with columns window, window_start_time, window_end_time, window_start_index, window_end_index