eelbrain.gui.select_components
- eelbrain.gui.select_components(path, data, sysname=None, adjacency=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.Rawobject with continuous data, or asDatasetwith epoched data (data['epochs']should contain anmne.Epochsobject). Optionally,data['index']can provide labels to display for epochs (the default isrange(n_epochs)). FurtherFactorcan be used to plot condition averages.sysname (str) – Optional, to define sensor adjacency.
adjacency (str | Sequence) – Optional, to define sensor adjacency (see
eelbrain.load.mne.sensor_dim()).decim (int) – Decimate the data for display (only applies when data is a
Rawobject; 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_toolkitwithconfigure():eelbrain.configure(prompt_toolkit=False).