with regard to question 1, is it possible that there was an error in the
download of the sample data? all of the hard work in load_analyze_mask
is being done by the standard SPM functions, so if they're having a
problem, it's probably just corrupt data
as for masking, i'm not an SPM user so i don't know what PickAtlas does,
but perhaps i can still help you. MVPA toolbox masks are simply 3D
boolean matrices. see:
https://compmem.princeton.edu/mvpa_docs/Manual#head-739949f183c823a2c9cbba5238e2131d753f1b73
so if you want to import a mask, create an image in SPM with 1s for the
voxels you want, and 0s for the voxels you want to exclude. then, just
load it in with load_analyze_mask. presumably, there are SPM tools to
create wholebrain masks and ROIs in this format? if not, then maybe you
can just load in an image into matlab and do the thresholding yourself
let us know if this answers your question or not.
g
--
---
Greg Detre
cell: 617 642 3902
email: gr...@gregdetre.co.uk
web: http://www.princeton.edu/~gdetre/
in order to narrow down the problem, can you answer 2 sets of questions
for me:
- is this the sample SPM dataset that we provide? and are you following
the exact instructions in the tutorial?
- can you describe your computing setup a little? mac/windows/linux,
RAM, matlab version etc.
thanks,
greg
George Christopoulos wrote:
> Hi,
>
> thanks for your reply. I managed to overcome the first problem - I
> will come back to the mask issue later maybe.
>
> But now when I do
>
> subj = feature_select(subj,'epi_z','conds','runs_xval');
>
> I receive this error:
>
> ??? Out of memory. Type HELP MEMORY for your options.
>
> Error in ==> feature_select at 87
> args.new_map_patname = sprintf('%s_%s',data_patin,stripped_name);
>
> This happens in both AFNI and SPM dataset. Moreover it doesnot look to
> be a problem from my Matlab or pc (I increased virtual memory and also
> tested it to a better pc).
>
> Any thoughts?
>
> Thanks
>
> George
>
>
> 2008/6/2 Greg Detre <gde...@princeton.edu <mailto:gde...@princeton.edu>>:
>
>
> dear george,
>
> with regard to question 1, is it possible that there was an error
> in the
> download of the sample data? all of the hard work in load_analyze_mask
> is being done by the standard SPM functions, so if they're having a
> problem, it's probably just corrupt data
>
> as for masking, i'm not an SPM user so i don't know what PickAtlas
> does,
> but perhaps i can still help you. MVPA toolbox masks are simply 3D
> boolean matrices. see:
>
> https://compmem.princeton.edu/mvpa_docs/Manual#head-739949f183c823a2c9cbba5238e2131d753f1b73
>
> so if you want to import a mask, create an image in SPM with 1s
> for the
> voxels you want, and 0s for the voxels you want to exclude. then, just
> load it in with load_analyze_mask. presumably, there are SPM tools to
> create wholebrain masks and ROIs in this format? if not, then
> maybe you
> can just load in an image into matlab and do the thresholding yourself
>
> let us know if this answers your question or not.
>
> g
>
>
> email: gr...@gregdetre.co.uk <mailto:gr...@gregdetre.co.uk>
> web: http://www.princeton.edu/~gdetre/
> <http://www.princeton.edu/%7Egdetre/>
thanks for sending all of that. i haven't got a windows computer with
1GB RAM handy to test on, but i'm pretty sure i've tested at least the
afni tutorial on computers with 1GB RAM with no problems in the past. if
you run:
>> summarize(subj)
you should find that the epi_z pattern has only a few hundred voxels.
this should easily fit in 1GB RAM.
did you say you had tried it on a different computer with the same result?
perhaps you could try a different ANOVA function:
>> statmap_arg.use_mvpa_ver = true;
>> subj =
feature_select(subj,'epi_z','conds','runs_xval','statmap_arg',statmap_arg);
my inclination right now is to think that this is some problem with your
particular computer or particular version of matlab, but i've been wrong
before (though only once)
g
> 2)My settings is Windows Intel Pentium, RAM = 1.GB <http://1.GB>.
> Matlab r2006a
>
> Thanks
>
> George
>
> 2008/6/3 Greg Detre <gde...@princeton.edu <mailto:gde...@princeton.edu>>:
> <mailto:gde...@princeton.edu> <mailto:gde...@princeton.edu
> <mailto:georc...@googlemail.com
> <mailto:gr...@gregdetre.co.uk <mailto:gr...@gregdetre.co.uk>>
my hunch is that it's a problem with the particular version of matlab
you're using and/or windows. if you're able to upgrade the version of
matlab, that would be diagnostic.
let's try the following:
- close all the other open applications before starting matlab
- exit and re-open matlab
- type 'dbstop if error' to turn on debugging
- now try running the tutorial
when it gives you an error, run 'whos' to tell us about the memory
usage. let's see what that says
g
George Christopoulos wrote:
> Hi Greg
>
> true, 1 GB for 577x1210 voxels should have been fine. I have already
> used the other anova function (i guess is the one for people not
> having the statistics toolbox?), but the same error message was given.
> I will give it a try to a third computer and if this fails I guess I
> will need to give up :(.
>
> Thanks anyway,
>
> George
>
> 2008/6/3 Greg Detre <gde...@princeton.edu <mailto:gde...@princeton.edu>>:
> <mailto:gde...@princeton.edu> <mailto:gde...@princeton.edu
> > <mailto:gde...@princeton.edu <mailto:gde...@princeton.edu>>>>:
g
can you run this command:
x = zeros([577 1210 2]);
just to see if that gives you an out of memory error.
is this the latest version of the toolbox (v 1.0)?
g