Dear SPMers,
I am trying to re-estimate a previously specified
model in SPM2. I saved the different versions of
SPM.mat soon after
a) fmri models - design
b) fmri models - data
and also after estimation and contrasts etc.
When i try to do a RFX analysis taking contrats images
from these, i got an error ... images do not
all have same orientation & voxel size
It was because the spm_defaults was somehow not loaded
automatically when matlab starts and in our lab the
defaults.analyze.flip is set to 0. So when configuring
the design matrix, i used to get an array of error
message for almost every file ... Warning: cant get
default analyze orientation -assuming flipped
and sometimes i explicitly loaded the spm_defaults, so
these were in different orientation.
Apparently it is the spm_flip_analyze_images.m that
determines the default orientation and it is called by
spm_vol_ana.m to fill in the VY variable.
I tried to reconfigure the design matrices by setting
SPM.xY.VY=[]; and SPM=spm-fmri_spm_ui(SPM); and re-
estimated the design matrix SPM=spm_spm(SPM); and
reevaluated the contrasts. But this did not help as
some analyses had voxel dimensions of -2x2x2 while
others had 2x2x2.
Another point is that for both sets, the preprocessed
data i.e. swa*.img had voxel dimensions of 2x2x2.
Is there a way i can do the re estimation of the
previously specified models.
Thanks in advance,
-krishna
=====
Krishna P. Miyapuram
Work : Graduate Student, Dept of Anatomy, Univ of Cambridge
Home : 25, Parkside, Room 10 (Phone +44 - 1223 - 476858
Address : Downing College, Regent Street, Cambridge, CB21DQ, England
URL : http://people.pwf.cam.ac.uk/kpm23/index.html
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
|