[pymvpa] Dataset with multidimensional feature vector per voxel
Yaroslav Halchenko
debian at onerussian.com
Tue Nov 24 20:10:52 UTC 2015
On Tue, 24 Nov 2015, Ulrike Kuhl wrote:
> I was able to reproduce the error when using a mask (1736 voxels) on my toy data:
could you share the code snippet and this toy dataset (h5save it)?
> Traceback (most recent call last):
> File "DummyMvpa_noisy.py", line 322, in <module>
> res_noisy = sl(DS_noisy)
> File "/usr/lib/python2.7/dist-packages/mvpa2/base/learner.py", line 259, in __call__
> return super(Learner, self).__call__(ds)
> File "/usr/lib/python2.7/dist-packages/mvpa2/base/node.py", line 121, in __call__
> result = self._call(ds)
> File "/usr/lib/python2.7/dist-packages/mvpa2/measures/searchlight.py", line 143, in _call
> results = self._sl_call(dataset, roi_ids, nproc)
> File "/usr/lib/python2.7/dist-packages/mvpa2/measures/searchlight.py", line 371, in _sl_call
> results=self.__handle_all_results(p_results))
> File "/usr/lib/python2.7/dist-packages/mvpa2/measures/searchlight.py", line 207, in _concat_results
> results = sum(results, [])
> File "/usr/lib/python2.7/dist-packages/mvpa2/measures/searchlight.py", line 527, in __handle_all_results
> for r in results:
> File "/usr/lib/pymodules/python2.7/pprocess.py", line 764, in next
> self.store()
> File "/usr/lib/pymodules/python2.7/pprocess.py", line 400, in store
> self.store_data(channel)
> File "/usr/lib/pymodules/python2.7/pprocess.py", line 747, in store_data
> data = channel.receive()
> File "/usr/lib/pymodules/python2.7/pprocess.py", line 135, in receive
> obj = self._receive()
> File "/usr/lib/pymodules/python2.7/pprocess.py", line 121, in _receive
> raise obj
> IndexError: index 1736 out of bounds 0<=index<1736
> Why does the searchlight run out of the mask?
not sure yet
--
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
More information about the Pkg-ExpPsy-PyMVPA
mailing list