@@ -82,9 +82,10 @@ A guide for using macros can be found at
8282Example of the content of the TSV file:
8383
8484``` Text
85- onset duration trial_type response_time stim_file
86- 1.23 0.65 start 1.435 images/red_square.jpg
87- 5.65 0.65 stop 1.739 images/blue_square.jpg
85+ onset duration trial_type response_time stim_file channel annots
86+ 1.23 0.65 start 1.435 images/red_square.jpg n/a n/a
87+ 5.65 0.65 stop 1.739 images/blue_square.jpg n/a n/a
88+ 12.1 2.35 n/a n/a n/a F,1|F,2|Cz musc
8889```
8990
9091In the accompanying JSON sidecar, the ` trial_type ` column might look as follows:
@@ -98,12 +99,49 @@ In the accompanying JSON sidecar, the `trial_type` column might look as follows:
9899 "start" : " A red square is displayed to indicate starting" ,
99100 "stop" : " A blue square is displayed to indicate stopping"
100101 }
102+ },
103+ "channel" : {
104+ "Description" : " Channel(s) associated with the event" ,
105+ "Delimiter" : " |"
106+ },
107+ "annots" : {
108+ "LongName" : " Annotations" ,
109+ "Description" : " Annotations associated with channels indicated in the channel column." ,
110+ "Levels" : {
111+ "musc" : " Muscle artifact. A very common, high frequency, sharp artifact that corresponds with agitation/nervousness in a patient."
112+ },
113+ "HED" : {
114+ "musc" : " EMG-artifact"
115+ }
101116 }
102117}
103118```
104119
105- Note that all other columns SHOULD also be described but are omitted for the
106- sake of brevity.
120+ Note that in the example above:
121+
122+ 1 . Only a subset of columns are described for the sake of brevity.
123+ In a real dataset, all other columns SHOULD also be described.
124+
125+ 1 . The ` channel ` column contains a list of values that are separated
126+ by a delimiter (` | ` ), as is declared in the ` Delimiter ` metadata
127+ field of the `events.json file.
128+ Thus, the channels related to the event in the third row of the example
129+ are called ` F,1 ` , ` F,2 ` , and ` Cz ` .
130+
131+ 1 . The example contains a column called ` annots ` .
132+ This column is not defined in BIDS, and constitutes additional, arbitrary
133+ (that is, unofficial) metadata.
134+ In the present case, it is used to describe artifacts in the data,
135+ in reference to the ` channel ` column.
136+ The ` annots ` column is making
137+ use of the powerful HED system for documenting events, see below.
138+
139+ Events MAY also be documented in machine-actionable form
140+ using HED (Hierarchical Event Descriptor) tags.
141+ This type of documentation is particularly useful for datasets likely to be used
142+ in event-related analyses.
143+ See [ Hierarchical Event Descriptors] ( ../appendices/hed.md )
144+ for additional information and examples.
107145
108146For multi-echo files, the ` events.tsv ` file is applicable to all echos of
109147a particular run:
@@ -125,13 +163,6 @@ A guide for using macros can be found at
125163 }
126164) }}
127165
128- Note: Events can also be documented in machine-actionable form
129- using HED (Hierarchical Event Descriptor) tags.
130- This type of documentation is particularly useful for datasets likely to be used
131- in event-related analyses.
132- See [ Hierarchical Event Descriptors] ( ../appendices/hed.md )
133- for additional information and examples.
134-
135166## Stimuli
136167
137168Additional information about the stimuli can be added in the ` events.tsv `
0 commit comments