Skip to content

Commit

Permalink
schema: add EEG channel count rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Jan 18, 2023
1 parent 1c6cc99 commit c096cce
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/schema/rules/checks/eeg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
EEGChannelCountReq:
selectors:
- suffix == "eeg"
checks:
- sidecar.EEGChannelCount == count(associations.channels.type, "EEG")
ECGChannelCountReq:
selectors:
- suffix == "eeg"
checks:
- sidecar.ECGChannelCount == count(associations.channels.type, "ECG")
EMGChannelCountReq:
selectors:
- suffix == "eeg"
checks:
- sidecar.EMGChannelCount == count(associations.channels.type, "EMG")
EOGChannelCountReq:
selectors:
- suffix == "eeg"
checks:
- sidecar.EOGChannelCount == count(associations.channels.type, "EOG")
MiscChannelCountReq:
selectors:
- suffix == "eeg"
checks:
- sidecar.MiscChannelCount == count(associations.channels.type, "MISC")
TriggerChannelCountReq:
selectors:
- suffix == "eeg"
checks:
- sidecar.TriggerChannelCount == count(associations.channels.type, "TRIG")

0 comments on commit c096cce

Please sign in to comment.