35d7c539c93bd0bff7788fad93ce08686e0cc760,mne/source_space.py,,add_source_space_distances,#Any#Any#Any#Any#,2334

Before Change


        raise RuntimeError("scipy >= 0.11 must be installed (or > 0.13 "
                           "if dist_limit < np.inf")

    if not all(s["type"] == "surf" for s in src):
        raise RuntimeError("Currently all source spaces must be of surface "
                           "type")

After Change


    min_idxs = list()
    logger.info("Calculating source space distances (limit=%s mm)..."
                % (1000 * dist_limit))
    max_n = max(s["nuse"] for s in src)
    if max_n > _DIST_WARN_LIMIT:
        warn("Computing distances for %d source space points (in one "
             "hemisphere) will be very slow, consider using add_dist=False"
             % (max_n,))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 35d7c539c93bd0bff7788fad93ce08686e0cc760
Time: 2019-04-10
Author: larson.eric.d@gmail.com
File Name: mne/source_space.py
Class Name:
Method Name: add_source_space_distances


Project Name: PyMVPA/PyMVPA
Commit Name: 32f00dd85a9a79390929e8f6681e23b652699035
Time: 2013-01-20
Author: nikolaas.oosterhof@unitn.it
File Name: mvpa2/misc/surfing/queryengine.py
Class Name: SurfaceVerticesQueryEngine
Method Name: train


Project Name: mne-tools/mne-python
Commit Name: fa91217b895957c4106d6175e27d72a48f4f05dc
Time: 2019-01-12
Author: jnu@iki.fi
File Name: mne/viz/topo.py
Class Name:
Method Name: _plot_evoked_topo