I am trying to do a ICA analysis on my data. I am currently searching for
the right montage for the approximate locations of my electrodes. I have a
EasycapM23 - Large Equidistant 32-Channel-Arrangement: at which montage
does it correspond in mne?
since with the mat file it was more complicated that I imagine, I created
now a text file which contains the number of the channel, theta and phi
(here attached).
When I run this:
montage=mne.channels.read_montage('easycapM23',ch_names=channel_names,
path="/Users/Emanuela1/Desktop/ICA/easycapM23.txt", unit='cm',
transform=False)
I get always this error: OSError: [Errno 20] Not a directory:
'/Users/Emanuela1/Desktop/ICA/easycapM23.txt'
But I actually could upload other text files from the same folder for other
purposes. why do I have this problem?
Many thanks,
Emanuela
hi,
you need to read the mat file and produce a txt file such as this one:
and then you should be able to read provided you set the good path.
HTH
Alex
>
>>
>> easycapM23.mat
>
>
> Hi,
>
> I am having some troubles to use this file with mne. This is what I have
> written:
>
> montage=mne.channels.read_montage('easycapM23',ch_names=channel_names,
> path="/Users/Emanuela1/Desktop/easycapM23.mat", unit='cm')
>
> it gives me back an error I suppose due to file extension. What should I
do?
>
> Thanks
> Emanuela
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> Mne_analysis Info Page
>
>
> The information in this e-mail is intended only for the person to whom
it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you
in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu Mne_analysis Info Page
info = mne.create_info(['F3','F4'], 512, ch_types=['eeg','eeg'],
montage=montage)
This gives me "No EEG channels found." but I don't really know what to do
with this. Without the montage specification in create_info there is no
error.
I remember I used those same lines before and they worked. I guess
then I maybe changed something either in channels.py, montage.py or in
the standard_1020.elc file. Is there a way to restore these files?
0.12.0 was the version I used. I used git clone to use the development
version. Now mne.__version__ shows me '0.13.dev0' as the version that
is in use. However I still get the "No EEG channels found." error
message.