[Mne_analysis] mne_ex_read_write_raw

Elisabeth Fonteneau ef309 at cam.ac.uk
Fri Jan 4 12:09:31 EST 2013
Search archives:

 

Hello MNE users,

I have a question regarding the function mne_ex_read_write_raw.m which
allows to read and write back a raw fif file.

 

We do have raw files that have been acquired in 2008 and at that time we
exported the events (with mne_browse_raw, v2.6.0). The event file was in the
old format (time correspond to time starting after the HPI -20s). Now if I'm
am exporting again the event on the same data with the same mne_version
(2.6.0) ,  my events will be in the new format (skipping HPI time on the
first line + 0 0 and now the time correspond to trigger time + skipping
time). If using the newer version (2.7.3) I do have the same thing. My first
question is can we not export anymore event file in the old format even with
an old mne_version(2.6.0)?

 

I realise that the format event is not a problem, because mne_process_raw
could handle both event formats for those files and creating an appropriate
average (identical whatever the event format is).

 

However here is my problem:

 

We want to use the command mne_ex_read_write_raw.m (we are removing blinks
with ICA and write back the raw fiff data). After re-writing the data in
fiff format, mne_process_raw is not able anymore to handle the old event
format (it is still detecting which format it is) but the average with the
old format is wrong. If using the new format event, the average is correct.

 

I am thinking that this function (mne_ex_read_write_raw.m) is missing to
write back some information (in the header perhaps) that will help
mne_process_raw (and potentially other mne_command) to handle the older
format.

 

An easy way will be to re-export all our events files (time comsuming), but
I was wondering if you have another idea?

 

Best,

Elisabeth

 

__________________________________________________________

 

Dr Elisabeth Fonteneau

Neurolex Group

Department of Psychology

University of Cambridge

Downing Street, Cambridge CB2 3EB, UK

Phone: +44 1223 333 548

Email:  <mailto:ef309 at cam.ac.uk> ef309 at cam.ac.uk

Web:  <http://www.neurolex.psychol.cam.ac.uk/directory/ef309@cam.ac.uk>
www.neurolex.psychol.cam.ac.uk/directory/ef309 at cam.ac.uk

 

 

 

 

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


More information about the Mne_analysis mailing list