eelbrain.gui.select_components
- eelbrain.gui.select_components(path, data, sysname=None, connectivity=None, decim=None, debug=False)
GUI for selecting ICA-components
- Parameters:
data (Dataset | BaseRaw) – Data to use for displying component time course during source selection. Can be specified as
mne.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 (str) – Optional, to define sensor connectivity.
connectivity (str | Sequence) – Optional, to define sensor connectivity (see
eelbrain.load.mne.sensor_dim()
).decim (int) – Decimate the data for display (only applies when data is a
Raw
object; default is to approximate 100 Hz samplingrate).debug (bool)
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)
.