-
Notifications
You must be signed in to change notification settings - Fork 299
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
STC ignoring SliceEncodingDirection #1345
Comments
That looks correct. Thanks for the heads up. Any interest in submitting a patch? |
I can work on that.
|
I'll start by saying that we have been assuming the By my reading,
It's not obvious from the docs whether In any event, I see no options for including a manually specified slice-encoding dimension, so I'm going to guess that they always assume that it's either I would recommend making the changes in nipype: You could add a If we want to go all out, once we figure out how to interpret |
Hi @effigies, Yes, 3dTshift will get the slice timing pattern from the dataset, if it is there. And timing passed from the command line overrides the header contents. And yes, the positive z direction for timing is based on positive indexing of the z direction on disk, not I-S, and not dependent on the sign of the coordinates. For verification, one can use I have never seen data where the slice-encoding dimension is not k, and am not sure how the software would behave. Does this mean datasets are being reoriented in scanner space for some reason? Is that the basis for this thread? Thanks. |
Hi @afni-rickr. Than So we'll always be passing a file indicating slice timing, so the only extent to which 3dTshift reading the header is relevant is for the
I haven't either.
I suppose it's possible. Or supposing I collected ILA, and my slice-encoding direction is still Not to say this is a good idea, but to the extent that this information can be represented, I would like to be able to handle it correctly, and knowing how much the underlying tool adjusts its behavior to NIfTI headers as opposed to just working on the data block is necessary. |
Hi @effigies. For what it is worth, if one resamples data in AFNI, we generally wipe out the slice timing, believing it is misleading at best. So a subsequent 3dTshift would simply duplicate the input (with modest whining). |
I have a bunch of multiband EPIs that were collected with coronal slices. Happy to share an example if it would be helpful |
@mattcieslak An example image would surely be helpful, though right now working with just an individual BOLD series is hard, as the anatomical portions of the pipeline are non-optional. If you're open to sharing a non-trivial amount of data, would it be possible to share the dataset on OpenNeuro? That would make it simpler for anybody to pick it up, work on the problem, and be sure they can run through the whole pipeline. |
Hi.
It seems that stc is not taking SliceEncodingDirection into account.
I was under the impression that this parameter should alter how SliceTiming is handled.
If my nifti orientation is LPS and the slices where acquired in z direction in descending order (from superior to inferior), SliceEncodingDirection should be 'k-' and SliceTiming something like [0, .05, .1 (...)] correct?
Thanks.
The text was updated successfully, but these errors were encountered: