nimbal / nimbaldetach

DETACH (Device Temperature and Acceleration Change) algorithm for detecting non-wear from raw accelerometer data.
MIT License
3 stars 1 forks source link

Added std_thresh_mg_start and std_thresh_mg_end parameters for DETACH #3

Closed VertAdam closed 2 years ago

VertAdam commented 2 years ago

Added std_thresh_mg_start and std_thresh_mg_end parameters and changed temp_dec/inc_roc to temp_roc_start/end. I also updated the docstrings and README.md file.

VertAdam commented 2 years ago

Just realized that adding a smaller std_thresh_mg_end then the std_thresh_mg_start will cause nw periods that are exactly 5 minutes as they are both below the start threshold and above the end threshold at the same time. So these changes are not a good idea.