[Mne_analysis] Mne_analysis Digest, Vol 27, Issue 2

Laurence Hunt lhunt at fmrib.ox.ac.uk
Tue Apr 6 03:50:37 EDT 2010
Search archives:

Hi Ricky,

A good sanity check might be to load the stim channel into matlab and see whether the button response codes were being logged at all. Use 

raw = fiff_read_raw_data('[FNAME]');
ch = fiff_pick_channels(raw.ch_names,{'STI 014'});
dat = fiff_read_raw_segment(raw,raw.first_samp,raw.last_samp,ch);
find(dat==[BUTTONPRESS])

where [FNAME] and [BUTTONPRESS] are filename and code for buttonpress, respectively. If you can't find anything with the find command then it's likely it wasn't logged when you were scanning.

Cheers,
Laurence

===========================================
Laurence Hunt, DPhil Student
 Centre for Functional MRI of the Brain (FMRIB), 
University of Oxford
lhunt at fmrib.ox.ac.uk
Phone: (+44)1865-(2)22738
===========================================

On 5 Apr 2010, at 21:07, mne_analysis-request at nmr.mgh.harvard.edu wrote:

> Thank you for the help, but I don't think it is a syntax issue.  It is
> more... did the scanner store the button responses in the STI channel. 
> When I run the command, it writes out the .eve file with relevant
> information. It is just missing the critical button response information.
> Is there another way to process the raw file and hopefully extract the
> response triggers?  Mne_browse_raw also shows no response triggers.
> 
> 
> -Ricky





More information about the Mne_analysis mailing list