We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecebf20 commit 5741db7Copy full SHA for 5741db7
mne/channels/interpolation.py
@@ -26,6 +26,16 @@ class Interpolator(dict):
26
def __init__(self, eeg, meg):
27
dict.__init__(self, eeg=eeg, meg=meg)
28
29
+ def __repr__(self):
30
+ desc = []
31
+ if self['eeg'] is not None:
32
+ desc.append('%i bad EEG' % (self['eeg'][1].sum(),))
33
+ if self['meg'] is not None:
34
+ desc.append('%i bad MEG' % (len(self['meg'][1]),))
35
+ if not desc:
36
+ desc.append('0 bad')
37
+ "<Interpolator | %s>" % (', '.join(desc),)
38
+
39
def apply_in_place(self, inst):
40
"""Dot product of channel mapping matrix to channel data."""
41
if self['eeg'] is not None:
0 commit comments