Skip to content

Commit

Permalink
[FIX] Add coordsystem-specific definition of DigitizedHeadPoints (#1023)
Browse files Browse the repository at this point in the history
* Add coordsystem-specific definition of DigitizedHeadpoints.

* Use new file_relative format.
  • Loading branch information
tsalo authored Apr 6, 2022
1 parent 252e2c4 commit 0b54380
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ and a guide for using macros can be found at
-->
{{ MACROS___make_metadata_table(
{
"DigitizedHeadPoints": "OPTIONAL",
"DigitizedHeadPoints__coordsystem": "OPTIONAL",
"DigitizedHeadPointsCoordinateSystem": "OPTIONAL",
"DigitizedHeadPointsCoordinateUnits": "OPTIONAL",
"DigitizedHeadPointsCoordinateSystemDescription": "OPTIONAL, but REQUIRED if `DigitizedHeadPointsCoordinateSystem` is `Other`",
Expand Down
9 changes: 9 additions & 0 deletions src/schema/objects/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,15 @@ DigitizedHeadPoints:
`true` or `false` value indicating whether head points outlining the
scalp/face surface are contained within this recording.
type: boolean
DigitizedHeadPoints__coordsystem:
name: DigitizedHeadPoints
description: |
Relative path to the file containing the locations of digitized head points
collected during the session (for example, `"sub-01_headshape.pos"`).
RECOMMENDED for all MEG systems, especially for CTF and BTi/4D.
For Elekta/Neuromag the head points will be stored in the fif file.
type: string
format: file_relative
DigitizedHeadPointsCoordinateSystem:
name: DigitizedHeadPointsCoordinateSystem
description: |
Expand Down

0 comments on commit 0b54380

Please sign in to comment.