Add activity index calculation from accelerometer data (fixes #642) - #859
Add activity index calculation from accelerometer data (fixes #642)#859samerzumot wants to merge 2 commits into
Conversation
…ow-dev#642) - Implement get_activity_index in C++ core using multi-axis epoch variance - Add get_activity_index bindings across C++, Python, Java, C#, TypeScript, Rust, Swift, Julia, and MATLAB - Add automated test activity_index.py
|
Thanks for working on this. I found several blockers that should be addressed before merge:
Confirmed Rust CI failure: https://github.com/brainflow-dev/brainflow/actions/runs/32657395247/job/100051356398 References:
|
…iod validation, and baseline noise variance support
|
Thanks for the detailed review and guidance, @Andrey1994! I have addressed all 5 blockers: 1. Rust Compilation Fix
2. Complete Bai et al. (2016) / BIOBSS Formula
3. Scope/API design and Issue #642Between rescoping this as a variability helper or implementing the complete AI contract, **I chose to implement the complete AI contract in Here is my reasoning (Let me know what you think):
4. Input Validation Consistency & Safety
5. CI Workflow & Test Suite
|
get_activity_indexin C++ core using multi-axis epoch varianceget_activity_indexbindings across C++, Python, Java, C#, TypeScript, Rust, Swift, Julia, and MATLABactivity_index.py