mne_process_raw: simple question

Hi Everyone,

I am using mne_process_raw to compute averaged MEG and am unable to get output without using the -gave switch. Here's an example:

./mne_process_raw -ave file.ave -events file.eve -raw data.fif -raw data.fif -gave output.fif

As you can see, I have to transit the data file twice to fool it into thinking it's computing a grand average. - Embarrassing - but it would be nice to know how to do it correctly. Thanks.

Don

Don Krieger, Ph.D., D.ABNM
Department of Neurological Surgery
University of Pittsburgh
(412)648-9654

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

Hi Donald,
You should specify the output file (as well as log file and other
definitions) in your "file.ave" in this format:

outfile file.fif

I have included one of our ave files as a reference. Let me know if you
have further questions!

Hi Donald,

I don't know about making grand average .fif files, but you can make grand
average .stc (source time-course) files using mne_average_estimates (after
making individual subject average .fif, computing the inverse operator, and
then making individual subject .stc files)--I'm not sure if that's what
you're trying to do thought.

Best,
Steve

Thanks for the help. That did it.

Don

Don Krieger, Ph.D., D.ABNM
Department of Neurological Surgery
University of Pittsburgh
(412)648-9654