[pymvpa] An error occurs when I use the function "zscore" ...
冯璐
fenglu at fingerpass.net.cn
Wed Feb 8 09:31:22 UTC 2012
Dear expert,
An error occurs when I use the function “zscore” … Can anyone help
me? Thank you in advance.
zscore(dataset, mean=0, std=1, perchunk=True, pervoxel=True,
targetdtype="float32")
Error message:
File "/usr/lib/pymodules/python2.6/mvpa/datasets/miscfx.py", line 120, in
zscore
slicedsamples)
File "/usr/lib/pymodules/python2.6/mvpa/datasets/miscfx.py",
line 95, in doit
samples[:, std != 0] /= std[std != 0]
TypeError: 'int' object is unsubscriptable
Best wishes!
Lu FENG
fenglu at fingerpass.net.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20120208/c42baf5d/attachment.html>
More information about the Pkg-ExpPsy-PyMVPA
mailing list