Skip to content

Commit

Permalink
ENH: Define a channel column for events
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored and sappelhoff committed Oct 26, 2023
1 parent 8dc5221 commit a3e3d25
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/schema/objects/columns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ cardiac:
description: |
continuous pulse measurement
type: number
channel:
name: channel
display_name: Channel
description: |
Channel(s) associated with an event.
If multiple channels are specified, separate with commas (`,`) or a
delimiter specified in the `"Delimiter"` field describing the `channel`
column.
color:
name: color
display_name: Color label
Expand Down
5 changes: 5 additions & 0 deletions src/schema/rules/tabular_data/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ TaskEvents:
response_time: optional
HED: optional
stim_file: optional
channel:
level: optional
description_addendum: |
Note that this column only applies to data types where
channels are specified, such as EEG, iEEG, MEG or NIRS.
additional_columns: allowed
initial_columns:
- onset
Expand Down

0 comments on commit a3e3d25

Please sign in to comment.