OpenViBE forum

The OpenViBE community
It is currently Sat May 26, 2018 11:12 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon May 11, 2015 12:56 am 
Offline

Joined: Thu Apr 02, 2015 3:15 am
Posts: 2
After completing an experiment with OpenVibe, i wanted to process my data in Matlab so i found some tools in the scenario/convert to convert my signal to a CSV,GDF and EDF file format. After running the scenario without getting errors or warnings i tried to check my files and here is what i got:

-> I can see the signal and the stimulation when playing back the OV file (No problem).
-> for the converted CSV, i had to convert to two files one for the signal and the other for the stimulation triggers and i got all the stimulation triggers (No problem).
-> GDF and EDF i lost the stimulation triggers, in the EDF files some stimulation triggers where exported but that lead me to an error when processing the data.

In addition to that, i went back to the designer and created a simple scenario with a GDF reader and a generic stream reader. i connected each file with a stimulation listener box. The first one is named "from ov file" and the second is "from gdf file". i played the scenario and got only simulations from the ov file :

............
[ INF ] At time 106.906 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33034[OVTK_StimulationId_Label_0A] at date 106.891 sec and duration 0.000 sec
[ INF ] At time 106.906 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33286[OVTK_StimulationId_NonTarget] at date 106.891 sec and duration 0.000 sec
[ INF ] At time 107.281 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33031[OVTK_StimulationId_Label_07] at date 107.250 sec and duration 0.000 sec
[ INF ] At time 107.281 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33286[OVTK_StimulationId_NonTarget] at date 107.250 sec and duration 0.000 sec
[ INF ] At time 107.625 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33028[OVTK_StimulationId_Label_04] at date 107.609 sec and duration 0.000 sec
[ INF ] At time 107.625 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33286[OVTK_StimulationId_NonTarget] at date 107.609 sec and duration 0.000 sec
[ INF ] At time 108.000 sec <Box algorithm::(0x00002915, 0x00001f1f) aka from ov file> For input 0 with name Stimulation stream 1 got stimulation 33030[OVTK_StimulationId_Label_06] at date 107.969 sec and duration 0.000 sec
............................


So is there a specific way to export the data to EDF/GDF without losing the stimulations.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 29, 2015 7:12 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 696
Location: INRIA Rennes, FRANCE
Hello Aness, this could be a bug, we'll have to investigate and if its a bug, really fix it. We have automatic tests for GDF reading/writing, but they do not cover stimulations yet.

Thank you for the report!


Best,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 01, 2015 1:44 pm 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 696
Location: INRIA Rennes, FRANCE
I looked into it, but I couldn't reproduce the issue. Saving stimuli to GDF seems to work ok. Can you send me the data file and exact details how you tried to convert it? If there is a problem in GDF read or write, we'll try to fix it. For EDF, we don't currently have the time.


Thanks,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.