Window the value vector of sensor data for each axis

window(sensor_data, window_length, window_overlap, window_name = "hamming")

Arguments

sensor_data

A data frame with columns t, axis, value.

window_length

The number of samples per window.

window_overlap

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

window_name

window name: bartlett, blackman, flattop, hamming, hanning, or rectangle. See ftwindow.

Value

Windowed sensor data