added EEG sensor type if no loaded sensor names given
@@ -56,6 +56,9 @@ class BBCIDataset(object):
assert not np.any(
np.isnan(continuous_signal)), "No NaNs expected in signal"
+ if self.load_sensor_names is None:
+ ch_types = ['EEG'] * len(wanted_chan_inds)
+ else:
# Assume we cant know channel type here automatically
ch_types = ['misc'] * len(wanted_chan_inds)
info = mne.create_info(ch_names=wanted_sensor_names, sfreq=fs,
