mne_gui_addons.view_vol_stc#
- mne_gui_addons.view_vol_stc(stcs, freq_first=True, group=False, subject=None, subjects_dir=None, src=None, inst=None, use_int=True, show_topomap=True, tmin=None, tmax=None, show=True, block=False, verbose=None)#
View a volume time and/or frequency source time course estimate.
- Parameters:
- stcs
listoflist| generator The source estimates, the options are: 1) List of lists or generators for epochs and frequencies (i.e. using
mne.minimum_norm.apply_inverse_tfr_epochs()ormne.beamformer.apply_dics_tfr_epochs()– in this case usefreq_first=False), or 2) List of source estimates across frequencies (e.g.mne.beamformer.apply_dics_csd()), or 3) List of source estimates across epochs (e.g.mne.minimum_norm.apply_inverse_epochs()andmne.beamformer.apply_dics_epochs()–in this case usefreq_first=False), or 4) Single source estimates (e.g.mne.minimum_norm.apply_inverse()andmne.beamformer.apply_dics(), notefreq_firstwill not be used in this case), or 5) List of list of lists or generators for subjects and frequencies and epochs (e.g.mne.minimum_norm.apply_inverse_tfr_epochs()for each subject in a list; usegroup=True), or 6) List or generator for subjects withstcsfrom evoked data (e.g.mne.minimum_norm.apply_inverse()ormne.beamformer.apply_dics_csd()for each subject in a list; usegroup=True).- freq_firstbool
If frequencies are the outer list of
stcsuseTrue.- groupbool |
str If data is from different subjects is, group should be
True. If data is in time-frequency, group should be'ITC'to show inter-trial coherence (power is shown by default).- subject
str The FreeSurfer subject name.
- subjects_dirpath-like |
None The path to the directory containing the FreeSurfer subjects reconstructions. If
None, defaults to theSUBJECTS_DIRenvironment variable.- srcinstance of
SourceSpaces The volume source space for the
stc.- inst
EpochsTFR|AverageTFR|None|list The time-frequency or data instances to use to plot topography. If group-level results are given (
group=True), a list of instances should be provided.- use_intbool
If
True, cast the data to integers to reduce memory use.- show_topomapbool
Whether to show the sensor topomap in the GUI.
- tminscalar
Time point of the first sample in data.
- tmaxscalar
Time point of the last sample in data.
- showbool
Show the GUI if True.
- blockbool
Whether to halt program execution until the figure is closed.
- verbosebool |
str|int|None Control verbosity of the logging output. If
None, use the default verbosity level. See the logging documentation andmne.verbose()for details. Should only be passed as a keyword argument.
- stcs
- Returns:
- guiinstance of VolSourceEstimateViewer
The graphical user interface (GUI) window.
Examples using mne_gui_addons.view_vol_stc#
Compute evoked ERS source power using DICS, LCMV beamformer, and dSPM
Volume Source Time Course Estimate for a Group Study