[SQL/MEG] Add the MEG CTF head shape tables#10412
Open
MaximeBICMTL wants to merge 1 commit intoaces:mainfrom
Open
[SQL/MEG] Add the MEG CTF head shape tables#10412MaximeBICMTL wants to merge 1 commit intoaces:mainfrom
MaximeBICMTL wants to merge 1 commit intoaces:mainfrom
Conversation
b86395e to
03a4376
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The MEG CTF format uses a
headshape.posfile to register the head shape of the participant. This file is CTF-specific but BIDS-standard (the BIDS MEG specification basically allows to use native files of all specific data types), and is usually shared across all the MEG acquisitions of a session.This PR adds some tables to register this data in the LORIS physiological database and link it to the relevant MEG files.
The
headshape.posfile format is unfortunately very sparsely documented. It is a textual file format whose contents looks like this:The first line is the number of points. The coordinates are in centimeters. It might be useful to use a proper
physiological_coord_systemin the future, but this can easily be added later IMO, so I'd like to start by merging this minimal implementation.Testing