Well - if someone wants to use this directly with an array of eigen-values,
they can use the function. Most people will probably want this as a method
of the TensorFit object, though. I remember having a conversation in one of
our google hang-outs where we decided this was going to be the general
structure to use for this kind of thing.


On Sun, Apr 14, 2013 at 10:27 AM, Stefan van der Walt <
notifications@github.com> wrote:

> In dipy/reconst/dti.py:
>
> > @@ -619,6 +730,85 @@ def trace(self):
> >          """
> >          return trace(self.evals)
> >
> > +
> > +    @auto_attr
>
> Why have this both as a utility function and as a method?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nipy/dipy/pull/170/files#r3786236>
> .
>