'Summarize inverse info instead of printing all.'

def __repr__(self):

    entr = '<InverseOperator'
    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'])
    source_ori = {FIFF.FIFFV_MNE_UNKNOWN_ORI: 'Unknown', FIFF.FIFFV_MNE_FIXED_ORI: 'Fixed', FIFF.FIFFV_MNE_FREE_ORI: 'Free'}
    entr += ('    |    Source    orientation:    %s' % source_ori[self['source_ori']])
    entr += '>'
    return entr
