I guess that I will wait for https://github.com/nipy/dipy/pull/340 to
resolve, before moving ahead with this one.


On Thu, Mar 20, 2014 at 6:24 PM, MrBago <notifications@github.com> wrote:

> In dipy/reconst/shm.py:
>
> > +
> > +    def predict(self, gtab, S0=1, response_evals=None):
> > +        """
> > +        Predict the diffusion signal from the model coefficients.
> > +
> > +        Parameters
> > +        ----------
> > +        gtab : a GradientTable class instance
> > +            The directions and bvalues on which prediction is desired
> > +
> > +        S0 : float array
> > +           The mean non-diffusion-weighted signal in each voxel. Default: 1 in
> > +           all voxels
> > +
> > +        """
> > +        return _shm_predict(self, gtab, S0, response_evals=None)
>
> If we make the _shm_predict a method of the CSD model this function can
> just pass it's coefficients to that method.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nipy/dipy/pull/335/files#r10824629>
> .
>