Skip to content

Commit 567a662

Browse files
committed
ENH: Define a channel column for events
1 parent e50373d commit 567a662

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/schema/objects/columns.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ cardiac:
4545
description: |
4646
continuous pulse measurement
4747
type: number
48+
channel:
49+
name: channel
50+
display_name: Channel
51+
description: |
52+
Channel(s) associated with an event.
53+
If multiple channels are specified, separate with commas (`,`) or a
54+
delimiter specified in the `"Delimiter"` field describing the `channel`
55+
column.
4856
color:
4957
name: color
5058
display_name: Color label

src/schema/rules/tabular_data/task.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ TaskEvents:
1010
response_time: optional
1111
HED: optional
1212
stim_file: optional
13+
channel:
14+
level: optional
15+
description_addendum: |
16+
Note that this column only applies to data types where
17+
channels are specified, such as EEG, iEEG, MEG or NIRS.
1318
additional_columns: allowed
1419
initial_columns:
1520
- onset

0 commit comments

Comments
 (0)