[Mne_analysis] Speeding up mne_make_movie

A Thwaites acgt2 at cam.ac.uk
Thu Jan 17 12:11:12 EST 2013
Search archives:

Hi MNE-ers

 

I am using mne_make_movie (mne version 2.7.3) to simultaneously apply an
inverse operator to my sensor data, and morph the data to an 'average' brain
using pre-computed morph maps. This works fine, but unfortunately I am doing
this for 500 single trials, and for 20 subjects, and mne_make_movie applies
the operator very slowly, to every millisecond (each trial is 2500 ms, and I
can't temporally downsample using --tstep as I need this high sample rate).
In order to speed things up I was going to first use the
mne_ex_compute_inverse matlab command  (as this seems to create the stcs a
lot quicker) and then morph this stc data to the average using the matlab
function 'mne_morph_data'. The only problem is that mne_morph_data.m is very
slow  (specifically lines 39-49) - indeed it seems much, much slower than
the equivalent morphing step in mne_make_movie - largely cancelling out any
gains made using mne_ex_compute_inverse! I suppose this might be something
to do with matlab - in which case, is there a faster morphing function
somewhere else I can call, for instance from the command line (ie not
through mne_make_movie)? Or should I be abandoning the command line/matlab
environment altogether, and use the python versions for all these commands
(ie. mne.morph_data_precomputed?) (although I don't know python so would
rather avoid this for the present).

 

Thanks for any help,

 

Andy

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


More information about the Mne_analysis mailing list