adding triggers post-acquisition

Hi,

We are trying to read in text files that specify sub-conditions for
each of 3 separate triggers. We tried to use the mne_add_triggers to
do this, but encountered the following error message after it read in
the text file correctly:

'Cannot process floats yet.'

We couldn't work out what floats are, or why they couldn't be
processed in this case...

To give a concrete example of what we're trying to do, we have a
single trigger in the MEG data indicating 'condition 1' and we want
to divide these trials into 'condition 1 location 1', 'condition 1
location 2', 'condition 1 location 3', and 'condition 1 location 4'.
We have which trials fall in these sub-conditions in a text file.

We also tried using Load event data to load a re-written .eve file
with the additional triggers changed manually but this didn't seem to
do anything.

Thanks,

Mark

Mark A. Williams, PhD
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Sydney NSW 2109

Email: mark.williams at maccs.mq.edu.au
Phone: +61 (0)2 9850 4438
Fax: +61 (0)2 9850 6059
Office: C5C 404

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20080630/6845d9c4/attachment.html

Mark,

Hi,

We are trying to read in text files that specify sub-conditions for
each of 3 separate triggers. We tried to use the mne_add_triggers
to do this, but encountered the following error message after it
read in the text file correctly:

'Cannot process floats yet.'

We couldn't work out what floats are, or why they couldn't be
processed in this case...

This refers to the type of raw data. mne_add_triggers is an old
utility which only handles 16-bit integers not floating point numbers.

To give a concrete example of what we're trying to do, we have a
single trigger in the MEG data indicating 'condition 1' and we want
to divide these trials into 'condition 1 location 1', 'condition 1
location 2', 'condition 1 location 3', and 'condition 1 location
4'. We have which trials fall in these sub-conditions in a text file.

We also tried using Load event data to load a re-written .eve file
with the additional triggers changed manually but this didn't seem
to do anything.

The event file works. However, there is no apparent change in the
display when you load an event file to mne_browse_raw; the program
just replaces the trigger line in the data with the information in
the file when it looks for triggers. If you use an ave file, you need
to specify the event file with the 'eventfile' option in the file.

- Matti