Skip to content
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions src/schema/rules/sidecars/emg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ EMGRequired:
The sampling frequency of data channels that deviate from the main sampling
frequency SHOULD be specified in the `channels.tsv` file.
PowerLineFrequency: required
RecordingType: required
SoftwareFilters: required

# Specific EMG fields SHOULD be present
Expand All @@ -68,27 +69,36 @@ EMGRecommended:
- datatype == "emg"
- suffix == "emg"
fields:
ElectrodeMaterial: recommended
ElectrodeType: recommended
EMGChannelCount: recommended
EMGGround: recommended
EpochLength: recommended
HardwareFilters: recommended
InterelectrodeDistance: recommended
RecordingDuration: recommended
RecordingType: recommended
SubjectArtefactDescription: recommended
TriggerChannelCount: recommended

EMGEpoched:
selectors:
- datatype == "emg"
- suffix == "emg"
- sidecar.RecordingType == "epoched"
fields:
EpochLength: required

# Specific EMG fields MAY be present
EMGOptional:
selectors:
- datatype == "emg"
- suffix == "emg"
fields:
ElectrodeMaterial: optional
ElectrodeType: optional
EMGGround: optional
EpochLength:
level: optional
level_addendum: required if `RecordingType` is `"epoched"`
Gain: optional
InterelectrodeDistance: optional
Preamplification: optional
SkinPreparation: optional
SubjectArtefactDescription: optional
TriggerChannelCount: optional

EMGPlacementSchemeDescription:
selectors:
Expand Down