Garyfallidis/dipy — pull request #21 by MrBago (2013-12-11 00:50:12+00:00)
Title: RF - Make peak finding return zero peaks when there are no good peaks to...

... return

This should get us started, I haven't made any changes to peaks_from_model, take a look in there and fix any code that assumes peak_directions always returns an array with size > 0.