[pymvpa] RSA - PDistTargetSimilarity

Yaroslav Halchenko debian at onerussian.com
Tue May 26 12:37:07 UTC 2015


On Tue, 26 May 2015, Charlotte Murphy wrote:
>    I realise this is because I have a vector vs. 6x6 matrix. I assume I need
>    to create a vector that reflects the off diagonal dissimilarity structure
>    for my input_model? If so, is there a simple way to do this? 

from scipy.spatial.distance import squareform

?

btw -- just in case -- have a look at
http://www.pymvpa.org/examples/rsa_fmri.html

which shows typical usecases

Cheers,
-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            Psychological and Brain Sciences Dept.
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