Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/schema/rules/sidecars/electrophys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
EpochedData:
selectors:
- intersects([datatype], ['eeg', 'meg', 'ieeg'])
- intersects([datatype], ['eeg', 'emg', 'meg', 'ieeg'])
- sidecar.RecordingType == 'epoched'
fields:
EpochLength: recommended
11 changes: 2 additions & 9 deletions src/schema/rules/sidecars/emg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ EMGRecommended:
HardwareFilters: recommended
RecordingDuration: recommended

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

# Specific EMG fields MAY be present
EMGOptional:
selectors:
Expand All @@ -92,7 +84,8 @@ EMGOptional:
EMGGround: optional
EpochLength:
level: optional
level_addendum: required if `RecordingType` is `"epoched"`
# Implemented in rules.sidecars.electrophys
level_addendum: recommended if RecordingType is "epoched"
Gain: optional
InterelectrodeDistance: optional
Preamplification: optional
Expand Down
Loading