Skip to content

Commit a3e3d25

Browse files
effigiessappelhoff
authored andcommitted
ENH: Define a channel column for events
1 parent 8dc5221 commit a3e3d25

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
@@ -48,6 +48,14 @@ cardiac:
4848
description: |
4949
continuous pulse measurement
5050
type: number
51+
channel:
52+
name: channel
53+
display_name: Channel
54+
description: |
55+
Channel(s) associated with an event.
56+
If multiple channels are specified, separate with commas (`,`) or a
57+
delimiter specified in the `"Delimiter"` field describing the `channel`
58+
column.
5159
color:
5260
name: color
5361
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)