This is a convenience function to resample and filter an entire data frame. To be used with `extract_...` functions that extract movement features between time points. To avoid edge effects, the filtering is done on the entire data frame, rather than just on an interval of interest.

resample_filter_pos(df, new_time, span = 3)

Arguments

df

Movement data frame

new_time

Resampling index

span

Median filter span (default 3)

Value

Resampled data frame with filtered columns add as `new_pos_...` or `new_rot`