sorry for not perfect API... although documented ;) I guess you
are hitting the issue that selectFeatures argument should be a list of
IDs, not a boolean mask:

          ids
                              iterable container to select id

so try to use
N.where(keepInd)[0]

as the argument...

we should make it smarter I guess and allow boolean masks as well


On Wed, 06 May 2009, James Kyle wrote:

> Greetings,
>
> I'm walking my way through some tutorials to get a feel for the pymvpa  
> API and flow. I'm not concerned with statistically significant results  
> yet.
>
> I've modified the comp_smlr_svm.py example script to read in a set of  
> NiftiImages (some zstats I had laying around).
>
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]



_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to