WIP: add Forward class with repr

To be able to see important information regarding the gain matrix, i.e.:

    In[1]: fwd
    Out[1]: <Forward | MEG channels: 118 | EEG channels: 63 | Source space: Surface with 8171 vertices>

Someone care to add tests? I won't have time anytime soon - must get back
to my own stuff.
On Jun 18, 2014 2:45 PM, "Alexandre Gramfort" <notifications@github.com>
wrote:

> In mne/forward/forward.py:
>
> > +        nchan = len(pick_types(self['info'], meg=True, eeg=False))
> > +        entr += ' | ' + 'MEG channels: %d' %nchan
> > +        nchan = len(pick_types(self['info'], meg=False, eeg=True))
> > +        entr += ' | ' + 'EEG channels: %d' %nchan
> > +
> > +        if self['src'][0]['type'] == 'surf':
> > +            entr += (' | Source space: Surface with %d vertices'
> > +                     %self['nsource'])
> > +        elif self['src'][0]['type'] == 'vol':
> > +            entr += (' | Source space: Volume with %d grid points'
> > +                     %self['nsource'])
> > +        elif self['src'][0]['type'] == 'discrete':
> > +            entr += (' | Source space: Discrete with %d dipoles'
> > +                     %self['nsource'])
> > +
> > +        if self['source_ori'] == 0:
>
> FIFF.FIFFV_MNE_UNKNOWN_ORI
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mne-tools/mne-python/pull/1372/files#r13912555>.
>