-
Notifications
You must be signed in to change notification settings - Fork 12
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
Slice timing issue with Anterior to Posterior #29
Comments
Dear Courtney, Apparently it is unsupported if the slice encoding direction is not on the third axis of the NIfTI file.
|
Apparently the developers of fmriprep discussed this at nipreps/fmriprep#1345, and decided that it's not an issue. One of the developers of AFNI writes "I have never seen data where the slice-encoding dimension is not k, and am not sure how the software would behave. " |
So how do I handle data that the sites have told me their slice encoding
direction is A-P? Literally half of our data shows that people said their
slice dimension was A-P which must be incorrect. How can I check the
metadata to see what the slice encoding direction really is? Our Duke data
has always been k, so I have no idea. The program is automatically finding
it and suggesting S-I for some of the scans, but a lot will say "Missing"
for encoding direction.
…On Mon, Dec 28, 2020 at 3:27 PM Lea Waller ***@***.***> wrote:
Apparently the developers of fmriprep discussed this at
nipreps/fmriprep#1345 <nipreps/fmriprep#1345>,
and decided that it's not an issue. One of the developers of AFNI writes "I
have never seen data where the slice-encoding dimension is not k, and am
not sure how the software would behave. "
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJV2KSSZALSXY5LJDPEHPBLSXDS27ANCNFSM4VMNZ33A>
.
|
So what you are saying is that the image metadata contradicts the slice acquisition direction provided by the sites? In this case, I think before we think any further on the software side, we need to be doubly sure that they were actually acquired that way. My suggestion would be to work with the sites to get first-hand information on the sequence to make sure that they did not confuse slice acquisition and phase encoding direction :-) |
It does seem that slice acquisition and phase encoding has been confused by
many sites. Ugh. Is there a command to find the slice acquisition in the
metadata? I don't know how besides running it in halfpipe and the program
says what it found.
…On Wed, Dec 30, 2020 at 12:38 PM Lea Waller ***@***.***> wrote:
So what you are saying is that the image metadata contradicts the slice
acquisition direction provided by the sites? In this case, I think before
we think any further on the software side, we need to be doubly sure that
they were actually acquired that way. My suggestion would be to work with
the sites to get first-hand information on the sequence to make sure that
they did not confuse slice acquisition and phase encoding direction :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJV2KSRTAT2WD5SVI4AV653SXNQPPANCNFSM4VMNZ33A>
.
|
It's actually two steps. First, you need to find which dimension stores the slices.
If they are all zeros, that means that the information is missing from the NIfTI header. However, if you get Now, you need to see which anatomical axis the dimension corresponds to. In this case,
This is exactly what Halfpipe does in the background, just with Python/Nibabel instead of FSL tools :-) |
Courtney, indeed very likely that some confused slice acquisition order and phase encoding direction. I second the fmriprep people, I don't know any data set where data was not acquired in the axial direction (i.e., I-S or S-I). Good to know that this confusion occurs, we should be very explicit in our manual about the difference between acquisition order and encoding direction. |
I was running data from a site that specified their slice timing direction as Anterior to Posterior in beta 6. I chose that option in the halfpipe user interface, however it found 44 scans with I-S direction. I continued to try to run and got an error:
[2020-12-28 14:56:56,0915] [halfpipe ] [ERROR ] Exception: The 'slice_encoding_direction' trait of a TShiftInputSpec instance must be 'k' or 'k-', but a value of 'j-' <class 'str'> was specified.
I'm not sure if that is due to some of the scans possibly not being A-P or not.
Also, how can I tell the direction from header information? I am double checking what sites have told me but I cannot find that information from using something like fslhd to check the header.
Thank you.
The text was updated successfully, but these errors were encountered: