Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue70 read matrix #71

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Issue70 read matrix #71

wants to merge 8 commits into from

Conversation

jhmigueles
Copy link
Collaborator

@jhmigueles jhmigueles commented Jan 27, 2025

Closes #70 => this includes reading function for Parmay Matrix devices (bin format), documentation and test files. The function readParmayMatrix processes the header and packet data of bin files, validates data integrity using CRC32 checksums, and outputs structured sensor data and quality check information.

The function is able to read bin files from Parmay Matrix devices with a variety of formats:

  • Including accelerometer, gyroscope, temperature, and heart rate sensors, or only some of them
  • With different sampling frequencies, options are 12.5, 25, 50, and 100 Hz.

For efficiency, if only the sampling frequency or the accelerometer dynamic range is required (e.g., as in GGIR::inspectfile), then the function stops reading at the moment it has identified these outputs.

Checklist before merging:

  • Existing tests still work (check by running the test suite, e.g. from RStudio).
  • Added tests (if you added functionality) or fixed existing test (if you fixed a bug).
  • Updated or expanded the documentation.
  • Updated release notes in NEWS.md with a user-readable summary. Please, include references to relevant issues or PR discussions.
  • Added your name to the contributors lists in the DESCRIPTION file, if you think you made a significant contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement functionality to read Matrix devices files (bin files)
1 participant