[pymvpa] Surface searchlight taking 6 to 8 hours

John Baublitz jbaub at bu.edu
Wed Jul 22 18:11:09 UTC 2015


Hi all,
I have been battling with a surface searchlight that has been taking 6 to 8
hours for a small dataset. It outputs a usable analysis but the time it
takes is concerning given that our lab is looking to use even higher
resolution fMRI datasets in the future. I profiled the searchlight call and
it looks like approximately 90% of those hours is spent mapping in the
function from feature IDs to linear voxel IDs (the
function feature_id2linear_voxel_ids). I looked into the source code and it
appears that it is using the in keyword on a list which has to search
through every element of the list for each iteration of the list
comprehension and then calls that function for each feature. This might
account for the slowdown. I'm wondering if there is a way to work around
this or speed it up.

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20150722/9a07d422/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list