2dd49058dba6cf1527e2414221d4b08b127f96d5,mne/forward/forward.py,,_restrict_gain_matrix,#Any#Any#,1033

Before Change


        logger.info("    %d planar channels" % len(sel))
    else:
        sel = pick_types(info, meg="mag", ref_meg=False, exclude=[])
        if len(sel) > 0:
            G = G[sel]
            logger.info("    %d magnetometer or axial gradiometer "
                        "channels" % len(sel))
        else:
            sel = pick_types(info, meg=False, eeg=True, exclude=[])
            if len(sel) > 0:
                G = G[sel]
                logger.info("    %d EEG channels" % len(sel))
            else:
                warn("Could not find MEG or EEG channels")
    return G


@verbose

After Change


            logger.info("    %d %s channels" % (len(sel), kind))
            break
    else:
        warn("Could not find MEG or EEG channels to limit depth channels")
        sel = slice(None)
    return G[sel]

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 2dd49058dba6cf1527e2414221d4b08b127f96d5
Time: 2019-04-24
Author: larson.eric.d@gmail.com
File Name: mne/forward/forward.py
Class Name:
Method Name: _restrict_gain_matrix


Project Name: hyperspy/hyperspy
Commit Name: 1e25959fc29916e17b81a223d5d5aaa2a21a239d
Time: 2018-04-13
Author: eric.prestat@gmail.com
File Name: hyperspy/drawing/_widgets/range.py
Class Name: RangeWidget
Method Name: set_bounds


Project Name: markovmodel/PyEMMA
Commit Name: 5d9b6a5d8f85d232e0dbf4869c702f2b8979d137
Time: 2017-10-17
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/parallel.py
Class Name: NJobsMixIn
Method Name: n_jobs