mvpa2.support.nibabel.surf.normalized

mvpa2.support.nibabel.surf.normalized(v)

Normalizes vectors

Parameters:

v: np.ndarray :

PxQ matrix for P vectors that are all Q-dimensional

Returns:

n: np.ndarray :

P-valued vector with the norm for each vector