arnodelorme / mffmatlabio

MFF Matlab file importer and exporter
GNU General Public License v3.0
11 stars 15 forks source link

error when creating a new mff file #28

Closed ometett closed 4 years ago

ometett commented 4 years ago

Hi Arno,

I am trying to synchronize my EEG recordings with my MEG recordings so I want to basically scale my EEG times to match my MEG times. I scale them with polyfit and I have no issue obtaining scaled values. I currently am able to get samples that are the same with my MEG recording but I am having trouble creating the new mff file with my new events. In my unscaled EEG, I had 120 events and I have the same number for scaled EEG so no event is missing. I am having the error " No method 'setY' with matching signature found for class 'com.egi.services.mff.api.Sensor'. Could you help me on how to fix this error? I will attach the screenshot of the error message below.

Regards,

error
arnodelorme commented 4 years ago

The function detected channel locations but they are missing the "Y" coordinate apparently. Maybe because it is MEG? Best wishes,

Arno

ometett commented 4 years ago

But these are still the events I have obtained from EEG. I just scaled the sampling of them with polyfit. I am not using the events from MEG to create an mff file.

Regards, Omer

arnodelorme commented 4 years ago

The error is about channel location not about events.

Arno

On Jul 22, 2020, at 2:31 PM, ometett notifications@github.com wrote:

But these are still the events I have obtained from EEG. I just scaled the sampling of them with polyfit. I am not using the events from MEG to create an mff file.

Regards, Omer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ometett commented 4 years ago

Hi Arno, I realized that I have been getting a warning about my pop_fileio saying unable to import channel location. Is it possible that this is happening because software runs pop_fileio instead of pop_fileio2 ? I attached the ss of the warning message below.

Regards,

error2
arnodelorme commented 4 years ago

Would you mind to share the MFF file you are trying to import and export and I will have a look. The error you are seing could be a problem.

Arno

ometett commented 4 years ago

I sent it to your gmail account.

-Omer

arnodelorme commented 4 years ago

I have checked the file. I have imported it, exported it and reimported it. All seems good on my side. Are you using the most up to date version of the plugin?

Arno

On Jul 22, 2020, at 4:09 PM, ometett notifications@github.com wrote:

I sent it to your gmail account.

-Omer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ometett commented 4 years ago

Oh, that's interesting! I don't know if I am using the latest version. How can I check the version of the plugin? Also, this is the call I use to recreate the mff file with the scaled events, I will attach below. Could you tell me if that's in the correct format?

Regards, Ekran Alıntısı