Hi Pia,
I can't comment on why the crash happened (although the most common
explanation is that the image files have moved from their original place),
but if you look at the VY.n fields, you should see the volume indices. There
is also an offset into the file saved in VY.pinfo(3).
All the best,
-John
> We were trying to wrok with 4D nifti files.
> everything was fine at the preprocessing stage.
> But when we reached the first level analysis spm_global seemed to fail.
> (note we only included the images that were preprocessed in our case 3:200)
> This seemed to be somehow related to how spm_vol read the SPM.xY.P, but we
> are not sure.
> i.e. VY = spm_vol(SPM.xY.P) -> VY.fname did not refer to the individual 3D
> volumes but had the generic name of the 4D file.
>
> To overcome this problem we tried to convert our 4D-to-3D but we did not
> manage. we tried using dcm2nii with not much success.
>
> Any helpful suggestions will be highly appreciateted.
|