nipy/dipy — pull request #221 by samuelstjean (2013-07-28 16:11:59+00:00)
Title: peaks_from_model now return peaks directions

This fixes #214 as well as #220. Now the function can return the peaks directions, and works with ndindex. So no need ot go outside and use the script in bin (which produces nan, strangely) with odf, now everything is done with the base function. Using ndindex is not really faster in my tests, but it enabled me to remove all the reshaping everywhere, so it's much cleaner now.