You can do 'git grep predict_signals'. It will show you all the places in
the repo where 'predict_signals' appears. If it isn't being used by
anything, please do remove it.


On Fri, Dec 20, 2013 at 9:35 AM, Kimberly Chan <notifications@github.com>wrote:

> In osmosis/model/analysis.py:
>
> > @@ -390,3 +393,46 @@ def fit_reliability(model1, model2):
> >      out = ozu.nans(vol_shape)
> >      out[model1.mask] = out_flat
> >      return out
> > +
> > +def predict_signals(data, bvals, bvecs, mask, b = 'None'):
> > +    bval_list, b_inds, unique_b, rounded_bvals = snr.separate_bvals(bvals)
> > +    bval_list_rm0, b_inds_rm0, unique_b_rm0, rounded_bvals_rm0 = snr.separate_bvals(bvals, mode = 'remove0')
> > +    all_b_idx = np.squeeze(np.where(rounded_bvals != 0))
> > +
> > +    if b is 'None':
>
> Ah, yes. I think I missed this one when trying to change all the 'None's
> to None. I don't remember what this function does anymore. Is there any way
> to see whether or not this function is called to within any of the modules?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/vistalab/osmosis/pull/7/files#r8505399>
> .
>