NOCIONS / letswave6

Letswave 6 - Matlab EEG signal processing toolbox
www.nocions.org/letswave6
49 stars 29 forks source link

Error in import MFF format EGI file #175

Open fngwng opened 4 years ago

fngwng commented 4 years ago

Hi,

I am starting to use letswave to analyse EGI data these days, however, I am facing some problems when import the dataset, here is the error I got:

Undefined function or variable 'ft_notification'.

Error in ft_error (line 39) ft_notification(varargin{:});

Error in ft_read_header (line 2489) ft_error('unsupported header format "%s"', headerformat);

Error in RLW_import_EGI (line 54) hdr=ft_read_header(filename);

Error in LW_import_EGI (line 88) [out_datasets(filepos).header out_datasets(filepos).data message_string]=RLW_import_EGI(filename,'concatenate',configuration.parameters.concatenate,'implementation',configuration.parameters.implementation);

Error in letswave_gui>menu_callback (line 387)

Error while evaluating Menu Callback.

Does anyone have any idea of it? Appreciated any input!!!

Thanks!

LisaGoller commented 4 years ago

Hey there!

I had the same problem at first. The solution seems super trivial, but makes a huge difference:

Go to the vmrk file and replace the huge gap between the trigger code and the next variable with a comma (edit…fill in gap, replace with “,” and apply to all).

Save this file and import vhdr file into letswave again.

I hope this will help you!

--Lisa

From: fngwng notifications@github.com Sent: woensdag 26 februari 2020 23:39 To: NOCIONS/letswave6 letswave6@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [NOCIONS/letswave6] Error in import MFF format EGI file (#175)

Hi,

I am starting to use letswave to analyse EGI data these days, however, I am facing some problems when import the dataset, here is the error I got:

Undefined function or variable 'ft_notification'.

Error in ft_error (line 39) ft_notification(varargin{:});

Error in ft_read_header (line 2489) ft_error('unsupported header format "%s"', headerformat);

Error in RLW_import_EGI (line 54) hdr=ft_read_header(filename);

Error in LW_import_EGI (line 88) [out_datasets(filepos).header out_datasets(filepos).data message_string]=RLW_import_EGI(filename,'concatenate',configuration.parameters.concatenate,'implementation',configuration.parameters.implementation);

Error in letswave_gui>menu_callback (line 387)

Error while evaluating Menu Callback.

Does anyone have any idea of it? Appreciated any input!!!

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/175?email_source=notifications&email_token=ANDDVEI3UYKQUNXSCQSBSPTRE3VRXA5CNFSM4K4PNQ6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IQTQXRA, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDDVEKPO2NLQCJQF6F32ADRE3VRXANCNFSM4K4PNQ6A.

fngwng commented 4 years ago

Hi Lisa,

Thank you very much for your help! However, when I import data file, in letswave 6, there is a "File" button, and then I go to "Import signals", on the right side, it shows many options for different format signals, such as "Import ASCII text files", "Import Biosemi BDF files"....for the data that I collected through EGI system, I guess need to choose "Import Netstation EGI files".

As you said "Save this file and import vhdr file into letswave again." there seems no place for importing vhdr file? Also, I couldn't find the vmrk file in the MFF folder...

Any idea about this, appreciate your help, thanks a lot!

LisaGoller commented 4 years ago

Hello again☺

So, first things first: Usually, when I make an EEG recording, I get three output files; an EEG file, a VHDR file, and a VMRK file.

The VMRK is the one where I had to make the adjustments I told you about in our last email (replace gap with comma after trigger code).

Once this was done, I could import them into letswave via “Brainvision VHDR files” (https://github.com/NOCIONS/letswave6/wiki/Import-signals), which can take a while depending on the duration of your recording.

I’m sorry if this doesn’t help you…I can only speak from how this worked with my own data files;)

Have a lovely day, Lisa

From: fngwng notifications@github.com Sent: maandag 2 maart 2020 18:49 To: NOCIONS/letswave6 letswave6@noreply.github.com Cc: Goller, Lisa (PSYCHOLOGY) lisa.goller@maastrichtuniversity.nl; Comment comment@noreply.github.com Subject: Re: [NOCIONS/letswave6] Error in import MFF format EGI file (#175)

Hi Lisa,

Thank you very much for your help! However, when I import data file, in letswave 6, there is a "File" button, and then I go to "Import signals", on the right side, it shows many options for different format signals, such as "Import ASCII text files", "Import Biosemi BDF files"....for the data that I collected through EGI system, I guess need to choose "Import Netstation EGI files".

As you said "Save this file and import vhdr file into letswave again." there seems no place for importing vhdr file? Also, I couldn't find the vmrk file in the MFF folder...

Any idea about this, appreciate your help, thanks a lot!

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/175?email_source=notifications&email_token=ANDDVENWM4BEJIXRFBUOGALRFPWPDA5CNFSM4K4PNQ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQINLA#issuecomment-593528492, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDDVELFCQVHUHYICBWMTIDRFPWPDANCNFSM4K4PNQ6A.