Closed neuromechanist closed 5 months ago
This example was discussed at length in the HWG. It can be solved by using the Duration
column for expressing the second event process at that event marker (e.g., the visual presentation that is delayed 400 ms). However it was decided that given the prevalence of trial-encoding strategies where multiple event processes are encoded in a single line (e.g., psychoPy, BIDS), that we should support using the Delay
tag with Onset
, Offset
, and Inset
as well as Duration
. A new attribute will be introduced in schema version 8.3.0 to handle this. @IanCa @happy5214
What would this attribute be called, and what would its semantics be? How would it be better than just declaring Delay
as reserved
and special-casing it in the validators?
Delay and Duration support in Python not quite in Javascript yet.
The Surround Suppression Task of the Healthy Brain Network Project (HBN) includes a stimulus consisting of 1- a starting 400ms gray background with a small dot at the center of the screen, accompanied by 2- four added circles to the foreground peripheral view. The second part may also modify the background (having stripes). The foreground circles can also have stripes with certain contrast and spatial relation to the background. The start and stop of the stimulus are annotated under the
value
column of the_events.tsv
asSTIM-ON
andSTIM_OFF
. The modifiers have their respective columns:background
,foreground_contrast
, andstimulus_cond
.My first annotation was like this:
However, as discussed during HWG on 3/7/2024, this annotation has two main issues with the current HED 8.2:
Delay
is not currently allowed to be grouped withOnset
andOffset
.A solution to avoid additional rows in the
_events.tsv
is to move theDelay
part outside the Definition and use theDuration
tag withDelay
: