# adding triggers post-acquisition

**URL:** <https://mne.discourse.group/t/adding-triggers-post-acquisition/44>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [June 30, 2008, 9:57am UTC](https://mne.discourse.group/t/adding-triggers-post-acquisition/44 "2008-06-30T09:57:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 30, 2008, 9:57am UTC](https://mne.discourse.group/t/adding-triggers-post-acquisition/44/1 "2008-06-30T09:57:56Z")

</div>

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](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20080630/6845d9c4/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [June 30, 2008, 11:55am UTC](https://mne.discourse.group/t/adding-triggers-post-acquisition/44/2 "2008-06-30T11:55:36Z")

</div>

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
