Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/modality-agnostic-files/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ and a guide for using macros can be found at
!!! warning "Important"

Some metadata of the `StimulusPresentation` object become REQUIRED with the presence of
[eye-tracking data](../modality-specific-files/physiological-recordings.md#eye-tracking)
"gaze-on-screen"
[eye-tracking data](../modality-specific-files/physiological-recordings.md#eye-tracking),
as identified by the `"SampleCoordinateSystem"` metadata.

The following fields pertaining to `<matches>_events.json` of tasks that were acquired
with the simultaneous recording of eye-tracking escalate to REQUIRED as they are considered
Expand Down
6 changes: 3 additions & 3 deletions src/modality-specific-files/physiological-recordings.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,9 @@ those derived from the saccade and blinks model some eye-trackers produce.

!!! warning "Important"

The following fields pertaining to `<matches>_events.json` of tasks that were acquired
with the simultaneous recording of eye-tracking escalate to REQUIRED as they are considered
essential in eye-tracking data analysis:
For eye-tracking recordings where `"SampleCoordinateSystem"` is set to `"gaze-on-screen"`,
the following fields pertaining to `<matches>_events.json` escalate to REQUIRED
as they are considered essential in eye-tracking data analysis:

- `StimulusPresentation.ScreenDistance`,
- `StimulusPresentation.ScreenOrigin`,
Expand Down
15 changes: 0 additions & 15 deletions src/schema/objects/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4007,21 +4007,6 @@ StimulusPresentation:
$ref: objects.metadata.SoftwareVersion
Code:
$ref: objects.metadata.Code
StimulusPresentation__eyetrack:
$ref: objects.metadata.StimulusPresentation
required:
- ScreenDistance
- ScreenOrigin
- ScreenResolution
- ScreenSize
recommended:
- OperatingSystem
- ScreenRefreshRate
- SoftwareName
- SoftwareRRID
- SoftwareVersion
- Code
- HeadStabilization
StopTime_eyetrack:
name: StopTime
display_name: Eye-tracking recording stop time
Expand Down
1 change: 1 addition & 0 deletions src/schema/rules/checks/eyetrack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ EyetrackingStimulusPresentation:
- suffix == 'physio'
- extension == '.tsv.gz'
- sidecar.PhysioType == 'eyetrack'
- sidecar.SampleCoordinateSystem == 'gaze-on-screen'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this wouldn't check that they aren't "n/a" though, right - could/should checks be made more stringent?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thanks.

checks:
- '"ScreenDistance" in associations.events.sidecar.StimulusPresentation'
- '"ScreenOrigin" in associations.events.sidecar.StimulusPresentation'
Expand Down