[Mne_analysis] Read .csv/.RDS files with MNE
Brunner, Clemens (clemens.brunner@uni-graz.at)
clemens.brunner at uni-graz.at
Tue Apr 7 10:02:35 EDT 2020
External Email - Use Caution
Hi!
You can try to read the CSV file with pandas (pd.read_csv) and then construct an MNE raw object using mne.io.RawArray (assuming that you have continuous EEG data). For a short summary how to do that see https://mne.tools/stable/auto_examples/io/plot_objects_from_arrays.html.
Clemens
> On 07.04.2020, at 11:30, Daniël van den Corput <d.p.t.vdncorput at tilburguniversity.edu> wrote:
>
> External Email - Use Caution
>
>
> Hi,
>
> My name is Daniel and I'm currently working on my thesis for the Master Cognitive Science and Artificial Intelligence for Tilburg University in the Netherlands. I want to create a model that can differentiate between patients vs non-patients for a particular disorder, based on EEG data.
>
> However, my input data is in the format of a .csv file or alternatively multiple .RDS files. I've been researching for the past couple of days how I can have MNE read these files, but I can't seem to figure it out.
>
> Does anyone have a suggestion on what the best way of going about this problem is? Any help would be much appreciated.
>
> Thanks in advance!
>
> Daniel
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
More information about the Mne_analysis
mailing list