Hi,
The sample data works fine for plotting topographs, and I was trying to
reproduce something similar with my data but I keep getting 'channel
type eeg does not exist'. The 'kind' = 2 in the raw.info listing so I
figure the data is identified correctly as eeg in the program... I
can't quite figure out what the problem is, maybe the fact that there
are no channel locations? Any help would be greatly appreciated. The
code and the error follow.
Thanks,
Jen
----------The code:
# get data
fn = sys.argv[1]
raw = mne.fiff.Raw(fn)
#get events
events = mne.find_events(raw,'STI 014')
event_id = 10 # event trigger and conditions
tmin = -0.2 # start of each epoch (200ms before the trigger)
tmax = 0.1 # end of each epoch (500ms after the trigger)
picks = mne.fiff.pick_types(raw.info, meg=False, eeg=True, exclude='bads')
baseline = (None, 0) # means from the first instant to t = 0
epochs = mne.Epochs(raw, events, event_id, tmin, tmax, proj=True,
picks=picks, baseline=baseline, preload=False)
print epochs['10']
evoked = epochs[10].average()
evoked.plot_topomap(0.1, ch_type='eeg', size=3, colorbar=False)
-------- The error: