-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradient echo fmap and dir- #1391
Comments
Could you provide the full listing of your fmap directory? |
It looks like it's being used as a label to distinguish acquisition parameters, not a way of distinguishing among related files. Is there a reason not to simply do |
because we also have spin echo but they are labelled shouldn't tagging @Remi-Gau |
can you comment on 'not a way of distinguishing among related files' -- why would using the direction not be a good way?
|
This is about how files are grouped. With GRE fieldmaps, you have 2 magnitude images and a phase difference image. Because the phase difference image is of a different quantity than the magnitudes, they made sense as different suffixes, and the group is the collection of files with these suffixes. In this case, For SE fieldmaps, the difference between
There seem to be two views on entities; one focused on metadata richness while the other is focused on necessary distinctions, reducing filename lengths to exactly that needed to tell one file from another. According to the rich metadata view, yes, any entity that is applicable to a file should be permissible. According to the necessary distinctions view, making available entities that are not needed to understand what a file is and how it's different from other files is just inviting users to add extraneous details into their filenames. BIDS has generally (but not always) followed the necessary distinctions approach, which would be my estimation for why Looking at your file listing:
There's redundant information.
Every piece of information in the filename is needed to distinguish it from a different file (apart from the required duplication of sub and ses in the filename and directory structure). If you had Either way, the validator follows the spec and the spec says what are valid entities for each suffix. I'm going to move this issue to the spec for people to weigh in, if they want to change the scope of the entity. |
hey Chris, this is really informative on the philosophy of file naming - I don't think this appears transparently in the spec, I shall PR this -- and discuss it at the next steering meeting, thx for enlightening me :-) note on my data, I do have run 2 and other stuffs, here we were checking with the code was not indexing files ... |
According to the definition https://bids-specification.readthedocs.io/en/stable/appendices/entities.html#dir
dir-
is arbitrary in terms of which files it comes with -- except some, e.g. pepolar field maps.Problem -- I have fmaps for case 1 in which i put e.g.
acq-gre_dir-LR
and others asacq-gre_dir-RL
... oh it doesn't like that! (and bids-matlab doesn't see them somehow)The text was updated successfully, but these errors were encountered: