Description Usage Arguments Details Value Author(s) References
This function creates a super trial (Barachant and Congedo, 2014) to use in ERP signal analysis for BCI.
1 | SuperTrial(list, n=16, length_epochs=129, tidy=F, col=17)
|
list |
a list of matrices with a specific construction. See Details below. |
n |
number of channels used to record the EEG signal. |
length_epochs |
number of time points of the registered signal (its length). |
tidy |
option to remove specific channels. If |
col |
columns to be removed (when |
The initial list must have a specific construction: every list element has to be a list itself with two main elements, $epochs
and $labels
.
$epochs
contains tensors with dimensions [n,c,t]
, where n are the number of epochs, c are the number of channels and t is the recording (epoch) length.
$labels
contains the class of the epochs considered (i.e. target or non target).
It returns a list:
mean_epoch |
a matrix that is the signal mean of every channel considered. |
super_trial |
a list with the super trials constructed from the initial list. |
Laura Masiero, email: laura.masiero.10@gmail.com
Barachant, Alexandre e Marco Congedo (2014). “A Plug&Play P300 BCI Using Information Geometry”. url: http://arxiv.org/abs/1409.0107.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.