[FieldTrip] read write MarkerFile.mrk file
michelic72 at gmail.com
Wed Mar 19 08:42:00 CET 2014
I bumped into this site after a quick internet search:
A function's header therein referes to a CTF reference document, named
"This format is rigid and readMarkerFile assumes that the MarkerFile has
current in October 2006. The document lists 4 Class Groups, but only
(triggers) and CLASSGROUPID=3 (Manual) are actually used. read_MArkerFile
these two groups, but it prints a message if the other groups are
Trigger markers (CLASSGROUPID=0) have an additional 4 pieces of information
BITNUMBER(int), POLARITY(+ or 1),SOURCE(text) and THRESHOLD (float). FOr
CLASSGROUPID=3, these fields are left empty."
I hope this helps
On Tue, Mar 18, 2014 at 2:02 PM, Vasily Vakorin <vasenka at gmail.com> wrote:
> I am trying to modify file MarkerFile.mrk, using function readmarkerfile.m
> and writeMarkerFile.m.
> Function readmarkerfile.m create a structure with four fields:
> number_markers, number_samples, marker_names, trial_times.
> However, function writeMarkerFile.m requires another field: ClassGroupId
> (only 0 and 3 are allowed).
> Any suggestions on how to create the "right" structure for
> writeMarkerFile.m ?
> Thank you,
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip