<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;">Dear Yaroslav,</span></font></p>
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;"><br>
</span></font></p>
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;">Fair enough! Thanks again for the help with the add_fa issue, and pointing me in the right direction vis-a-vis the Haxby dataset. I'll look into that.</span></font></p>
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;"><br>
</span></font></p>
<p style="margin-top:0;margin-bottom:0"><font size="2"><span style="font-size:11pt;"></span></font>Regards</p>
<p style="margin-top:0;margin-bottom:0">Lyam<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p><span style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:12.8px">---------------------------------------------------------</span></p>
<span style="color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:12.8px"><b>Lyam Bailey, B.Sc., M.Sc. </b></span></p>
<p><span style="color:rgb(0,0,0); font-family:arial,sans-serif; font-size:12.8px"></span><span style="font-family:arial,sans-serif; font-size:12.8px">Doctoral Student</span></p>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136); font-family:arial,sans-serif; font-size:12.8px">
<span style="color:rgb(0,0,0)">Department of Psychology & Neuroscience</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136); font-family:arial,sans-serif; font-size:12.8px">
<span style="color:rgb(0,0,0)">Dalhousie University</span></div>
<br>
<p></p>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Yaroslav O Halchenko <yoh@onerussian.com><br>
<b>Sent:</b> Wednesday, August 14, 2019 1:39:44 PM<br>
<b>To:</b> Lyam Bailey <Lyam.Bailey@Dal.Ca><br>
<b>Cc:</b> pkg-exppsy-pymvpa@alioth-lists.debian.net <pkg-exppsy-pymvpa@alioth-lists.debian.net><br>
<b>Subject:</b> Re: [pymvpa] Loading multiple ROIs with fmri_dataset</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
On Wed, 14 Aug 2019, Lyam Bailey wrote:<br>
<br>
>    Dear Yaroslav<br>
<br>
>    Woops, that was embarrassing! Thanks for clearing that up. However, I've<br>
>    just spotted another potential problem in my code. I assumed that the<br>
>    experimental design was the same for all runs, because only task001_run001<br>
>    (in the sub001/BOLD directory) has an attributes.txt file indicating the<br>
>    order of stimulus presentations (unless I'm very much mistaken?) None of<br>
>    the other runs contain this file, so I used...<br>
<br>
>    targets = SampleAttributes(pjoin('haxby2001, 'sub001',<br>
>    'BOLD','task001_run001', 'attributes.txt'))['targets']<br>
<br>
>    for every chunk in ds. However, when examining the data loaded in by<br>
>    load_tutorial_data...<br>
<br>
>    print ds.targets[ds.chunks==0]<br>
>    > ['scissors' 'scissors' 'scissors'...<br>
>    print ds.targets[ds.chunks==1]<br>
>    > ['face' 'face' 'face'....<br>
<br>
>    SO I was clearly wrong on that front. Is there a way to access information<br>
>    about the experimental design from the other runs? As I mentioned above,<br>
>    only task001_run001 contains the relevant attributes.txt file, so I'm<br>
>    rather at a loss as to where the necessary info might be located.<br>
<br>
oh... I would need to go for some archaeological expedition to figure<br>
out exactly why, cannot do ATM.<br>
<br>
FWIW -- anyways - this is just a demo dataset.  If you really want to<br>
get/analyze haxby2001 -- it is available from openfmri/openneuro in full<br>
"original" shape as ds000105<br>
<br>
If you have datalad, you can<br>
<br>
datalad install ///openfmri/ds000105 <br>
<br>
and then<br>
<br>
cd ds000105<br>
git checkout 1.0.0<br>
<br>
to get old "openfmri" (not BIDS) layout for the dataset.  Unfortunately<br>
we didn't come up with a convenience layer for BIDS datasets yet within<br>
PyMVPA.<br>
<br>
-- <br>
Yaroslav O. Halchenko<br>
Center for Open Neuroscience     <a href="http://centerforopenneuroscience.org">http://centerforopenneuroscience.org</a><br>
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755<br>
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419<br>
WWW:   <a href="http://www.linkedin.com/in/yarik">http://www.linkedin.com/in/yarik</a>       
<br>
</div>
</span></font></div>
</body>
</html>