static_acc: Static acceleration

Description Usage Arguments Details Value

Description

The raw acceleration is first filtered using a low pass butterworth filter. Then , the extracted signal can be scaled so that the norm of the the vector G is 1 at each second.

Usage

1
static_acc(x, fs = 16, fc = 0.2, Gscale = TRUE, agg_1hz = TRUE)

Arguments

x

3 axes acceleration table with time in the first column and acceleration axes in the following columns. Variables must be entitled "time" for time, "ax", "ay", and "az" for x, y and z accelerometer axes.

fs

sampling frequency of the input data (Hz).

fc

Cut-off frequency for the butterworth low pass filter (Hz)

Gscale

Should the values be scaled by the norm of the static acceleration vector ?

agg_1hz

Should the input be aggregated to 1 Hz ?

Details

This filtered acceleration can be used to compute pitch and roll angles

Value

returns a data.frame with time, and X, Y and Z static accelearyion at 1 Hz.


SESman/rbl documentation built on May 9, 2019, 11:10 a.m.