[Neuroimaging] slice timing check

Christophe Pallier christophe at pallier.org
Wed Feb 14 13:57:05 EST 2018


Hello,

I am trying to check various implementations of slice timing correction,
including the pure python version in pypreprocess.

To this end, I have written a python script (attached) to generate a
sinewave 'activation' pattern shifted along the z axis.

The result (`sinewave.nii`, included in the attached zip file) looks fine.

However, when I run the slicetiming correction with SPM (ot for that matter
pypreprocess), with what I believe are the correct parameters, the delays
of the various slices are not corrected as I would have expected (see
asinewave.nii: I would have expected the z delays to be corrected and the
image to be essentially uniform; the parameters for SPM are simply TR=1s,
slice order=ascending; 40 slices)

I apologize because this is not really a Python question, but if I solve
the issue, I may be able to convince colleagues that the pure python slice
timing correction in pypreprocess is doing the right thing. So, basically,
I hope that someone points out my mistake.

Best,


-- 
--
Christophe Pallier <christophe at pallier.org>
INSERM-CEA Cognitive Neuroimaging Lab, Neurospin, bat 145,
91191 Gif-sur-Yvette Cedex, France
Tel: 00 33 1 69 08 79 34
Personal web site: http://www.pallier.org
Lab web site: http://www.unicog.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20180214/15fca960/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sinewave-slicetiming-test.zip
Type: application/zip
Size: 32803 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20180214/15fca960/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create_sine_wave_brain.py
Type: text/x-python
Size: 1135 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20180214/15fca960/attachment.py>


More information about the Neuroimaging mailing list