Hmm. It can have any shape, as long as there is *some* axis that has three
elements. How would you write that? It's implied by the `axis` parameter.


On Sun, Apr 14, 2013 at 10:26 AM, Stefan van der Walt <
notifications@github.com> wrote:

> In dipy/reconst/dti.py:
>
> > @@ -391,6 +397,111 @@ def tensor_mode(q_form):
> >      return  3 * np.sqrt(6) * tensor_determinant((A_squiggle / A_s_norm))
> >
> >
> > +def tensor_linearity(evals, axis=-1):
> > +    r"""
> > +    The linearity of the tensor [Westin1997]_
> > +
> > +    Parameters
> > +    ----------
> > +    evals : array-like
>
> No shape information given
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nipy/dipy/pull/170/files#r3786231>
> .
>