one single question:
would the code fail if no projs are present in info!

On 19.07.2013, at 20:27, Roman Goj <notifications@github.com> wrote:

> In examples/inverse/plot_dics_pSPM.py:
> 
> > +# Get gain matrix (forward operator)
> > +if label is not None:
> > +    vertno, src_sel = label_src_vertno_sel(label, forward['src'])
> > +
> > +    if is_free_ori:
> > +        src_sel = 3 * src_sel
> > +        src_sel = np.c_[src_sel, src_sel + 1, src_sel + 2]
> > +        src_sel = src_sel.ravel()
> > +
> > +    G = forward['sol']['data'][:, src_sel]
> > +else:
> > +    vertno = _get_vertno(forward['src'])
> > +    G = forward['sol']['data']
> > +
> > +# Apply SSPs
> > +proj, ncomp, _ = make_projector(epochs.info['projs'], ch_names)
> you mean e.g. as a projs parameters that can be passed None if necessary?
> 
> this is taken from LCMV, which assumes it will work either on raw, epochs or evoked and so, I think, would always have some info['projs'] to rely on? I meant to base dics_* heavily on lcmv_* so that they're very similar in such respects. wdyt?
> 
> —
> Reply to this email directly or view it on GitHub.