ENMOa is the "always-positive" companion of computeENMO: the
vector magnitude minus one gravity, with the absolute value taken
instead of truncating negatives to zero, \({\rm ENMOa} = |r - 1|\) with
\(r = \sqrt{x^2+y^2+z^2}\) (van Hees et al. 2013). It differs from ENMO only
where the magnitude dips below 1 g (deceleration / partial free-fall), which
ENMO truncates away; ENMOa retains that movement, so it is used when the
sensor calibration is imperfect (a persistent sub-1 g offset would otherwise
be lost by ENMO's truncation). When an epoch length is given, per-epoch mean
ENMOa is returned.
Usage
computeENMOa(
accel,
sampling_rate = NULL,
epoch_sec = NULL,
unit = c("g", "mg")
)