# Data that is DISMAL < i.e say ~10 samples)
miniAccel <- mhealthtools::accelerometer_data %>%
dplyr::filter(t < 0.1)
miniGyro <- mhealthtools::gyroscope_data %>%
dplyr::filter(t < 0.1)
# This should also be an empty feature list, with an error, but
# throws a different error than before and does not execute.
# The issue here is from the IMF parameter, if that is removed
# no problems, runs smoothly
tremorFeatures <- mhealthtools::get_tremor_features(
accelerometer_data = miniAccel,
gyroscope_data = miniGyro,
IMF = 2)
From @itismeghasyam:
A simplified example: