mvpa2.misc.transformers.l2_normed

mvpa2.misc.transformers.l2_normed(x, norm=1.0, reverse=False)

Norm the values so that regular vector norm becomes norm

More verbose: Norm that the sum of the squared elements of the returned vector becomes norm.