eelbrain.pipeline.MneExperiment.make_mov_ttest¶
-
MneExperiment.
make_mov_ttest
(self, 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)
Parameters: - subjects : str | 1 | -1
Subject(s) for which to load data. Can be a single subject name or a group name such as
'all'
.1
to use the current subject;-1
for the current group. Default is current subject (or group ifgroup
is specified).- model : None | str
Model on which the conditions c1 and c0 are defined. The default (
''
) is the grand average.- c1 : None | str | tuple
Test condition (cell in model). If None, the grand average is used and c0 has to be a scalar.
- 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.
- baseline : bool | tuple
Apply baseline correction using this period in sensor space. True to use the epoch’s baseline specification (default).
- src_baseline : bool | tuple
Apply baseline correction using this period in source space. True to use the epoch’s baseline specification. The default is to not apply baseline correction.
- 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
Brain.add_data()
argument).- 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 (
view
and 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.