- MneExperiment.make_mov_ttest(subjects=None, model='', c1=None, c0=None, p=0.05, baseline=True, src_baseline=False, surf=None, views=None, hemi=None, time_dilation=4.0, foreground=None, background=None, smoothing_steps=None, dst=None, redo=False, **state)
Make a t-test movie (requires PySurfer 0.6)
subjects (str | 1 | -1) – Subject(s) for which to load data. Can be a single subject name or a group name such as
1to use the current subject;
-1for the current group. Default is current subject (or group if
model (None | str) – Model on which the conditions c1 and c0 are defined. The default (
'') is the grand average.
c0 (str | scalar) – Control condition (cell on model) or scalar against which to compare c1.
p (0.1 | 0.05 | 0.01 | .001) – Maximum p value to draw.
surf (str) – Surface on which to plot data.
views (str | tuple of str) – View(s) of the brain to include in the movie.
hemi ('lh' | 'rh' | 'both' | 'split') – Which hemispheres to plot.
time_dilation (scalar) – Factor by which to slow the passage of time. For example, with
time_dilation=4(the default) a segment of data for 500 ms will last 2 s.
foreground (mayavi color) – Figure foreground color (i.e., the text color).
background (mayavi color) – Figure background color.
smoothing_steps (None | int) – Number of smoothing steps if data is spatially undersampled (pysurfer
dst (str (optional)) – Path to save the movie. The default is a file in the results folder with a name determined based on the input data. Plotting parameters (
viewand all subsequent parameters) are not included in the filename. “~” is expanded to the user’s home folder.
redo (bool) – Make the movie even if the target file exists already.
... – State parameters.