nipy/dipy — pull request #33 by Garyfallidis (2012-07-01 21:27:40+00:00)
Title: Gradients Table class 

Hi, this is my initial approach to create an class to deal with b-values and b-vectors. It would be nice to have some ways to transform the b-vectors if needed I think Matthew and Bago had some ideas about that. I wouldn't prioritise it for the time being but please be my guest.

The main idea with the class DiffusionGradients is that it has as attributes .bvals and .bvecs in an ndarray form of (N,) and (N, 3) respectively which is then easy to handle later in the reconstruction models.

Cheers,
Eleftherios