braindecode.training.trial_preds_from_window_preds¶
- braindecode.training.trial_preds_from_window_preds(preds, i_window_in_trials, i_stop_in_trials)¶
Assigning window predictions to trials while removing duplicate predictions.
- Parameters
- preds: list of ndarrays (atleast 2darrays)
- List of window predictions, in each window prediction
time is in axis=1
- i_window_in_trials: list
Index/number of window in trial
- i_stop_in_trials: list
stop position of window in trial
- Returns
- preds_per_trial: list of ndarrays
Predictions in each trial, duplicates removed