ihgumilar
(Ihshan)
February 3, 2021, 12:58am
1
Hi,
I am trying to use the standard 10-20 systems of EEG for the OpenBCI data that I have got by using this code
ten_twenty_montage = mne.channels.make_standard_montage (‘standard_1020’)
However, 1 . I just don’t know how do I make sure that the CSV file that I have match with the sensor name that is listed there ?
2. How can I drop other sensors that I don’t have the data ? since OpenBCI gave me only 16 channels, then I only those 16 channels for my analysis
Thanks
richard
(Richard Höchenberger)
April 7, 2021, 8:21am
2
Hello @ihgumilar , sorry for the late response. Have you meanwhile been able to resolve the issue?
Not a problem. Yes, I am able to resolve the issue.
Thanks
1 Like
sappelhoff
(Stefan Appelhoff)
June 12, 2021, 9:57am
4
Hi @ihgumilar - I’m glad you were able to solve it. Would you be able to post a quick summary of the solution and then mark your own reply as the “solution” for this forum thread?
→ That’d be a great help for any other user in the future, stumbling over this problem.
Thanks!
Hi @sappelhoff
Sorry for the late reply.
Kindly find the code below. Hope that can be helpful for others.
# Create 16 channels montage 10-20 international standard
` montage = mne.channels.make_standard_montage('standard_1020')`
# % Create info
# Pick only 16 channels that are used in Cyton+Daisy OpenBCI
ch_names = ['FP1', 'Fp2', 'F7', 'F3', 'F4', 'F8', 'T7', 'C3', 'C4', 'T8', 'P7', 'P3', 'P4', 'P8', 'O1', 'O2']
ch_types = ['eeg'] * 16
info = mne.create_info(
ch_names=ch_names,
sfreq=125,
ch_types=ch_types)
info.set_montage('standard_1020', match_case=False)
2 Likes