Open JulioV opened 3 years ago
The function's docs mention that EnergyInBand features are computed for 0.5Hz bins between 0 and 25Hz but the code only does it between 1 and 25Hz
Docs: https://github.com/Sage-Bionetworks/mhealthtools/blob/7c8083bc717fdfe3b1faf1ab28ffc48974f46a40/R/feature_extraction_functions.R#L132
Code: https://github.com/Sage-Bionetworks/mhealthtools/blob/7c8083bc717fdfe3b1faf1ab28ffc48974f46a40/R/feature_extraction_functions.R#L156
Thanks for filing! Looks like a documentation issue. I wonder what a 0 Hz feature would look like 😆
The function's docs mention that EnergyInBand features are computed for 0.5Hz bins between 0 and 25Hz but the code only does it between 1 and 25Hz
Docs: https://github.com/Sage-Bionetworks/mhealthtools/blob/7c8083bc717fdfe3b1faf1ab28ffc48974f46a40/R/feature_extraction_functions.R#L132
Code: https://github.com/Sage-Bionetworks/mhealthtools/blob/7c8083bc717fdfe3b1faf1ab28ffc48974f46a40/R/feature_extraction_functions.R#L156