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

[ENH] extension for electromyography (EMG) - BEP042 #1998

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
EMGPlacement -> EMGPlacementScheme (to echo existing EEGPlacementScheme)
drammock committed Jan 22, 2025
commit edc796cd567a87eac49c488846feafb456e6c259
6 changes: 3 additions & 3 deletions src/modality-specific-files/electromyography.md
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ A guide for using macros can be found at
{
"EMGChannelCount":4,
"EMGGround":"TODO",
"EMGPlacement":"midpoint between cubital fossa and radial styloid process",
"EMGPlacementScheme":"midpoint between cubital fossa and radial styloid process",
"EMGReference":"TODO",
"HardwareFilters":{"Highpass RC filter": {"Half amplitude cutoff (Hz)": 0.0159, "Roll-off": "6dBOctave"}},
"InstitutionAddress":"9500 Gilman Drive 0559, La Jolla, CA 92093",
@@ -304,8 +304,8 @@ In such cases, `EMGCoordinateSystem` SHOULD be specified as `Other` and the
coordinate system (for example, "origin at the center of the grid" or "origin at the
center of the electrode in the lower-left corner of the grid, when oriented with the
leads downward").
In such cases, the description in the `EMGPlacement` field of `*_emg.json` MAY refer to
the origin of that 2D coordinate system in describing the placement of the grid.
In such cases, the description in the `EMGPlacementScheme` field of `*_emg.json` MAY
refer to the origin of that 2D coordinate system in describing the placement of the grid.

The order of the required columns in the `*_electrodes.tsv` file MUST be as listed below.

4 changes: 2 additions & 2 deletions src/schema/objects/metadata.yaml
Original file line number Diff line number Diff line change
@@ -956,8 +956,8 @@ EMGGround:
Description of the location of the ground electrode
(for example, `"right radial styloid process"`).
type: string
EMGPlacement:
name: EMGPlacement
EMGPlacementScheme:
name: EMGPlacementScheme
display_name: EMG Placement Procedure
description: |
The name of a standardized electrode placement procedure (for example, `"SENIAM 8"`)
4 changes: 2 additions & 2 deletions src/schema/rules/sidecars/emg.yaml
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ EMGRequired:
- datatype == "emg"
- suffix == "emg"
fields:
EMGPlacement: required
EMGPlacementScheme: required
EMGReference: required
SamplingFrequency:
level: required
@@ -82,7 +82,7 @@ EMGRecommended:
# Specific EMG fields MAY be present
# TODO: InterElectrodeDistance: in channels.tsv probably, only for bipolar channels
# ElectrodeGroup: not sure this is still needed given our use of `acq`
# ElectrodeOrientation: incorporate into EMGPlacement?
# ElectrodeOrientation: incorporate into EMGPlacementScheme?
# SkinPreparation: abrasive gel, alcohol wipe, etc.
EMGOptional:
selectors: