Back to the main page.

Bug 2482 - support segmented brainvision data with its own trialfun

Status CLOSED FIXED
Reported 2014-02-26 10:53:00 +0100
Modified 2019-08-10 12:29:09 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Eelke Spaak
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2014-02-26 10:53:22 +0100

This pertains to the workshop in Zurich. I am pasting this here as placeholder. On 26 Feb 2014, at 10:51, Eelke Spaak wrote: Paar opmerkingen voor ik het vergeet (heb bugzilla login niet bij de hand): als je niet alledrie de vhdr/vmrk/eeg files hebt krijg je cryptische foutmeldingen, dit gebeurt ook als de datafile bv de extensie .txt heeft (schijnt ook voor te komen). Verder zijn de triggers niet altijd in het formaat 'S 1' maar kunnen arbitrair zijn ('DIN1' had iemand hier), dat geeft ook een error (maar heb ik gefixt uiteraard). Als we weer terugzijn zal ik de trialfun aanpassen aan wat we hier hebben getweakt.


Robert Oostenveld - 2014-02-26 11:00:00 +0100

(In reply to Robert Oostenveld from comment #0) the handling of vhdr/vmrk/XXX with xxx=dat/seg and now also txt is implemented in utilities/private/dataset2files.m which is called by ft_checkconfig and by ft_read_xxx. That is easy to extend, except that it is not trivial to see what happens if you start with cfg.dataset='filename.txt'. Probably that also involves ft_filetype. I won't change it without having a proper test script. We could hand-craft some small data files for that.


Robert Oostenveld - 2014-02-26 11:02:38 +0100

for reference, this also relates to r9243 enhancement - added a trialfunction for segmented brainvision data, as requested by Eelke for the Zurich workshop


Eelke Spaak - 2014-03-03 11:49:29 +0100

bash-4.1$ svn commit test/test_bug2482.m fileio/private/read_brainvision_vhdr.m trialfun/ft_trialfun_brainvision_segmented.m Sending fileio/private/read_brainvision_vhdr.m Adding test/test_bug2482.m Sending trialfun/ft_trialfun_brainvision_segmented.m Transmitting file data ... Committed revision 9252.


Robert Oostenveld - 2019-08-10 12:29:09 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.