“…Brain machine interfaces have demonstrated their efficacy for rehabilitation after paralysis ( Ang et al, 2015 ; Biasiucci et al, 2018 ; Donati et al, 2016 ; Ono et al, 2014 ; Pichiorri et al, 2015 ; Ramos-Murguialday et al, 2013 ; Trincado-Alonso et al, 2018 ). However, this technology is still in a preliminary stage, and there is a great margin for investigation and improvement before it becomes one standard tool in the portfolio of clinical treatments for motor rehabilitation ( Asín Prieto et al, 2014 ; López-Larraz et al, 2018b ). The results presented in this study demonstrate, on the one hand, that rejecting trials with artifacts from the EEG datasets helps to better quantify the brain activity of stroke patients during motor tasks; and on the other hand, that after rejecting the artifacts from the training datasets, the obtained BMI performances are lower.…”