eelbrain.gui.select_components
- eelbrain.gui.select_components(path, data, sysname=None, connectivity=None, decim=None)
GUI for selecting ICA-components
- Parameters
data (
Union
[Dataset
,BaseRaw
]) – Data to use for displying component time course during source selection. Can be specified asmne.io.Raw
object with continuous data, or asDataset
with epoched data (data['epochs']
should contain anmne.Epochs
object). Optionally,data['index']
can provide labels to display for epochs (the default isrange(n_epochs)
). FurtherFactor
can be used to plot condition averages.sysname (
Optional
[str
]) – Optional, to define sensor connectivity.connectivity (
Union
[str
,Sequence
,None
]) – Optional, to define sensor connectivity (seeeelbrain.load.fiff.sensor_dim()
).decim (
Optional
[int
]) – Decimate the data for display (only applies when data is aRaw
object; default is to spproximate 100 Hz samplingrate).
Notes
The ICA object does not need to be computed on the same data that is in
ds
. For example, the ICA can be computed on a raw file but component selection done using the epochs that will be analyzed.Note
If the terminal becomes unresponsive after closing the GUI, try disabling
prompt_toolkit
withconfigure()
:eelbrain.configure(prompt_toolkit=False)
.