Skip to content

docs: clarify reserved CAR group names 'none' and 'emg' (fixes #792) - #794

Merged
abuzarmahmood merged 1 commit into
masterfrom
openhands/update-docs-car-group-names
Mar 9, 2026
Merged

docs: clarify reserved CAR group names 'none' and 'emg' (fixes #792)#794
abuzarmahmood merged 1 commit into
masterfrom
openhands/update-docs-car-group-names

Conversation

@abuzarmahmood

Copy link
Copy Markdown
Member

Summary

This PR addresses issue #792 by documenting that "none" and "emg" are reserved/hardcoded CAR group names.

Changes Made

  • docs/tutorials.md: Added "Reserved CAR Group Names" section explaining that:

    • none: Channels marked with CAR group none are excluded from CAR processing and will not be analyzed
    • emg (or any CAR group containing "emg"): Channels with CAR groups containing "emg" are treated as EMG channels and processed separately for EMG analysis
  • docs/reference/core-pipeline.md: Added CAR Groups section to blech_common_avg_reference.py documentation explaining the reserved names

  • blech_exp_info.py: Improved the prompt message to clarify that "emg" and "none" are reserved names

Why This Matters

When loading channels and performing common average reference (CAR), the pipeline treats certain CAR group names specially:

  • Channels with CAR group none are excluded from processing
  • Channels with CAR group names containing "emg" are treated as EMG channels for separate EMG analysis

This was not clearly documented, which could lead to user confusion when their data is processed unexpectedly.

Testing

  • Documentation builds successfully
  • No changes to application code logic (only documentation improvements)

Fixes #792

This update addresses issue #792 by documenting that 'none' and 'emg'
are privileged/hardcoded CAR group names:

- 'none': Channels marked with CAR group 'none' are excluded from
  common average reference (CAR) processing and will not be analyzed
- 'emg' (or any CAR group containing 'emg'): Channels with CAR groups
  containing 'emg' are treated as EMG channels and processed separately
  for EMG analysis

Changes:
- docs/tutorials.md: Added 'Reserved CAR Group Names' section
- docs/reference/core-pipeline.md: Added CAR groups section to
  blech_common_avg_reference.py documentation
- blech_exp_info.py: Improved prompt message to clarify reserved names

Co-authored-by: openhands <openhands@all-hands.dev>
@abuzarmahmood
abuzarmahmood merged commit 86085ab into master Mar 9, 2026
6 of 8 checks passed
@abuzarmahmood
abuzarmahmood deleted the openhands/update-docs-car-group-names branch March 9, 2026 18:15
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.

Update docs and README to mention that "none" and "emg" are privileged / hardcoded CAR group names

2 participants