I would like to make a movie of the temporal evolution of data on the cortical surface from something im doing. similar to what mne_make_movie does, but it's not eeg/meg data. is there a way to make and display movies of data in tksurfer or freeview ? or i guess i could `trick` mne and display my data in the mne package viewer ?
any ideas on what is the easiest/best way to skin this cat ?
thanks
Greg
Hi Greg
usually I do this with a tcl script. For example, here is a script that generates a movie of inflation (that is a snapshot for each frame, you can then use convert *.tif movie.gif to create an animated gif):
cat make_movie.tcl set suffix inflated set surf_dir /homes/4/fischl/links/subjects/Long/bruce/surf
read_binary_curv set min_p 0 set max_p 60
scale_brain .95 set cslope 5 for {set pno $min_p } { $pno <= $max_p} {incr pno 1} { set fname $surf_dir/$hemi.${suffix}[format "%04d" $pno] read_surface_vertex_set 1 $fname read_binary_curv set gaLinkedVars(vertexset) 1; set_current_vertex_set $gaLinkedVars(vertexset); UpdateLinkedVarGroup view; redraw
set fname $hemi.${suffix}[format "%04d" $pno].tif puts "saving $fname" save_tiff $fname }
you would add -tcl make_movie.tcl to the tksurfer command line to run it.
cheers Bruce
On Tue, 30 Sep 2014, Gregory Kirk wrote:
I would like to make a movie of the temporal evolution of data on the cortical surface from something im doing. similar to what mne_make_movie does, but it's not eeg/meg data. is there a way to make and display movies of data in tksurfer or freeview ? or i guess i could `trick` mne and display my data in the mne package viewer ?
any ideas on what is the easiest/best way to skin this cat ?
thanks
Greg _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Hi Greg,
I would use MNE either the C, MATLAB, or python code. All are able to create STC (surface time course) files. You can then generate movies using either the C code or the python package (feel free to post follow-up questions on the mne_analysis@nmr.mgh.harvard.edu list).
D
On Tue, Sep 30, 2014 at 11:54 PM, Gregory Kirk gkirk@wisc.edu wrote:
I would like to make a movie of the temporal evolution of data on the cortical surface from something im doing. similar to what mne_make_movie does, but it's not eeg/meg data. is there a way to make and display movies of data in tksurfer or freeview ? or i guess i could `trick` mne and display my data in the mne package viewer ?
any ideas on what is the easiest/best way to skin this cat ?
thanks
Greg _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu