Back to the main page.

Bug 501 - implement a movieplot function for MNE source reconstructions

Status CLOSED FIXED
Reported 2011-02-21 14:55:00 +0100
Modified 2011-05-05 21:24:28 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2011-02-21 14:55:49 +0100

it should have a slider to scroll through time and allow the brain to be rotated in 3d


Robert Oostenveld - 2011-02-21 21:53:41 +0100

svn revision 2916 contains an initial implementation of the MNE source reconstruction movie. It is called ft_sourcemovie. Please give me suggestions and feedback on how to improve the visualisation.


Jan-Mathijs Schoffelen - 2011-02-23 13:06:55 +0100

also add a slider to movieplotER


Jan-Mathijs Schoffelen - 2011-02-23 13:08:03 +0100

also for TFR?


Lilla Magyari - 2011-02-25 15:48:15 +0100

I have followed Robert's instruction to use the ft_sourcemovie function: > source5.pnt = sourcespace3.pnt; > source5.tri = sourcespace3.tri; > source5.avg.ampl = sqrt(source5.avg.pow); > > > cfg = []; > cfg.zparam = 'avg.pow'; %or 'avg.ampl' or not specified > ft_sourcemovie(cfg, source5) And I got an error: ???Error using ==> ft_plot_mesh Too many output arguments. Error in ==> ft_sourcemovie at 129 hs=ft_plot_mesh(hs, 'edgecolor', 'none', 'vertexcolor', 0*opt.dat(:,1)); source5 and sourcespace3 are in /home/language/lilmag/NCLAssis/FieldTripAnalysis/tutorial


Lilla Magyari - 2011-02-25 16:40:28 +0100

(In reply to comment #4) > I have followed Robert's instruction to use the ft_sourcemovie function: > > > source5.pnt = sourcespace3.pnt; > > source5.tri = sourcespace3.tri; > > source5.avg.ampl = sqrt(source5.avg.pow); > > > > > > cfg = []; > > cfg.zparam = 'avg.pow'; %or 'avg.ampl' or not specified > > ft_sourcemovie(cfg, source5) > > And I got an error: > > ???Error using ==> ft_plot_mesh > Too many output arguments. > > Error in ==> ft_sourcemovie at 129 > hs=ft_plot_mesh(hs, 'edgecolor', 'none', 'vertexcolor', 0*opt.dat(:,1)); > > > source5 and sourcespace3 are in > /home/language/lilmag/NCLAssis/FieldTripAnalysis/tutorial this has been already solved by Jan-Mathijs


Lilla Magyari - 2011-02-25 16:52:33 +0100

(In reply to comment #1) > svn revision 2916 contains an initial implementation of the MNE source > reconstruction movie. It is called ft_sourcemovie. Please give me suggestions > and feedback on how to improve the visualisation. My remarks and suggestions: 1. The time = ... at the bottom of the picture is not working at all And it is covered by the brain when I see the brain from above. 2. There is a strange thing: If I put the colorbar on the side of the picture, it seems that the values that are assigned to certain colors are changing. You can see that on /home/language/lilmag/NCLAssis/FieldTripAnalysis/tutorial/sourcemovie1.jpg and at sourcemovie2.jpg. They are pictures from the same movie at different points in time, you can see that the colorbars are different. 3. I am wondering if it would be useful to be able to specify a time-window from which the movie should be made. 4. (How) is it possible to save the movie? Lilla


Jan-Mathijs Schoffelen - 2011-03-03 13:12:14 +0100

Hi Lilla, I just made some changes to ft_sourcemovie, fixing the colorbar/colorscale issue. Moreover, you can now specify a mask, e.g. cfg.mask = 'mask'; source.mask = double(source.avg.pow > 1e-8); if you then start the movie, it becomes even more attractive to look at ;o)


Robert Oostenveld - 2011-05-05 21:24:28 +0200

bulk action: closed all bugs with status "resolved/fixed"