[pymvpa] How to export neighborhood relationships of NiftiDataset?

Yaroslav Halchenko debian at onerussian.com
Tue Nov 8 05:35:18 UTC 2011


so we are talking about 0.4.x series of pymvpa (in 0.6 AKA mvpa2 voxel
indices are explicitly stored in feature attributes of a dataset):  so I
guess you are looking for:

In [10]: from mvpa.tests.tests_warehouse import datasets
In [11]: datasets['3dsmall'].mapper.getInId(0)
Out[11]: array([0, 0, 1])

?

On Tue, 08 Nov 2011, 冯璐 wrote:

>    Dear experts,

>     

>             I  know that  using NiftiDataset.map2Nifti()  or other  functions
>    like mapForward()  or mapReverse(),  we  can deal  with  either 2D  or  3D
>    dataset freely. But I wonder how to export the neighborhood  relationships
>    of the volume.  Briefly, I��d like  to have a  transformation matrix or  a
>    list of  coordinations  for each  voxel.  I need  this  if I  go  on  with
>    processing by other tools instead of PyMVPA.

>             Thanks in advanceJ

>     

>    Best wishes!

>     

>         Lu FENG

>    fenglu at fingerpass.net.cn

>     

>    __________ Information from ESET NOD32 Antivirus, version of virus
>    signature database 6532 (20111010) __________

>    The message was checked by ESET NOD32 Antivirus.

>    [1]http://www.eset.com

> References

>    Visible links
>    1. http://www.eset.com/

> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa


-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



More information about the Pkg-ExpPsy-PyMVPA mailing list