Electrode locations for MNE ? [resolved]

edited May 2022 in Electrodes

Hello members!

We recorded EEG data (exported in bdf format) using the ultracortex with a Cyton board (8 channels). In the analysis (using MNE python), we are stuck in getting the channel locations for plotting topographic head maps and further associated steps.
Is there any possibility to get the channel location from the data we recorded, or if we can make our channel locations and make it read in the MNE (I saw a solution using an image of the head plot with channels specified as a reference on research gate, but don't know how to sync it with the data).

Looking forward to hearing the solutions. : )

Best Regards,
Sagar Chaturvedi,
Neurophysiological Data Analyst.

Comments

  • edited May 2022

    The channel locations are found successfully. This issue has been resolved. Please let me know if someone needs help with this in the coming future.
    Thank you.

  • plutopluto mars
    edited May 2022

    Hi @sagarchaturvedi,
    I wanted to know the 16 channel electrodes locations too.
    Were you able to get (x,y,z) coordinates for 16 channel electrodes for OpenBCI Cyton and Daisy? It would be of great help if you can share those.
    Thanks,
    Pluto

  • edited May 2022

    Hi @pluto,
    Please check the code below to find the channel locations (8 channel). Feel free to increase or decrease as per requirement. There may be some discrepancies and I am still finding a way to make this more effective. The good thing is, it works.

    sfreq = 250
    ch_types = ['eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','misc','misc','misc']
    ch_names = ['FP1','FP2','F3', 'F4','P3', 'P4', 'O1', 'O2', 'A1','A2','A3']
    info = mne.create_info(ch_names=ch_names, sfreq=sfreq, ch_types=ch_types)
    raw.info = info
    montage =  mne.channels.make_standard_montage('standard_1020')
    raw.set_montage(montage, match_case=False)
    

    The values that are mentioned here as 'misc' are the x,y, and z coordinates. I think you will be able to extract the details from them. I did not use these values.

    Thanks,
    Sagar.

Sign In or Register to comment.