Montage for 16 channels openBCI

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

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

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