Hi Ciara,
not sure why this is happening but the error refers to a rather
low-level file I/O error - spm can simply not open the file. Have you
checked whether you can open the file you specified in this design, in
this location, manually? Also, is the path correctly specified? spm only
reports the filename, which may also be a hint (although I am not sure
about that). I have in the past forgotten to copy header files along,
leading to unspecific errors downstream that drove me crazy, so it may
be worth a try.
Hope this helps,
Marko
Ciara Mccabe wrote:
> Dear SPMers
>
> Im running 1 sample t tests with 3 images per person 3 images drug 3
> images under placebo all fine
>
> BUT then try to compare drug and placebo in a ANOVA within design (same
> people)
>
> I get this error
>
> Plane 1/68 , block 1/1 : ...read & mask dataError with file
> F1T1_straw-rinse.img
>
> ??? Error using ==> spm_sample_vol
>
> Cant open image file.
>
> Error in ==> spm_get_data at 44
>
> Y(i,:) = spm_sample_vol(V(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
>
> Error in ==> spm_spm at 657
>
> Y(i,Cm) = spm_get_data(VY(i),xyz(:,Cm),false);
>
> Error in ==> spm_getSPM at 235
>
> SPM = spm_spm(SPM);
>
> Error in ==> spm_results_ui at 263
>
> [SPM,xSPM] = spm_getSPM;
>
> ??? Error while evaluating uicontrol Callback
>
> Any ideas? I don’t understand how the 1 sample can run using the images
> but the within subjects ANOVA comparing the images under condition 1 and
> cond 2 gives this error?
>
> any help MUCH appreciated
>
> Ciara
>
> Dr Ciara McCabe
>
> Neuroscience Building
>
> Dept of Psychiatry
>
> Warneford Hospital
>
> Oxford University
>
> Oxford
>
> OX3 7JX
>
> Tel: 01865 223778
>
> Mob: 07966035631
>
> http://www.psychiatry.ox.ac.uk/research/researchunits/perl/perlmembers/ciaramccabe/
>
--
____________________________________________________
PD Dr. med. Marko Wilke
Facharzt für Kinder- und Jugendmedizin
Leiter, Experimentelle Pädiatrische Neurobildgebung
Universitäts-Kinderklinik
Abt. III (Neuropädiatrie)
Marko Wilke, MD, PhD
Pediatrician
Head, Experimental Pediatric Neuroimaging
University Children's Hospital
Dept. III (Pediatric Neurology)
Hoppe-Seyler-Str. 1
D - 72076 Tübingen, Germany
Tel. +49 7071 29-83416
Fax +49 7071 29-5473
[log in to unmask]
http://www.medizin.uni-tuebingen.de/kinder/epn
____________________________________________________
|