moabb icon indicating copy to clipboard operation
moabb copied to clipboard

Allow `paradigm.get_data()` to return non-loaded Epochs

Open PierreGtch opened this issue 1 year ago • 1 comments

Since PR #408, we theoretically have the possibility to return non-loaded (i.e. preload=False) epochs and raws from the cache. However, because the paradigms' get_data concatenates epochs, they are loaded anyway by mne (see https://mne.tools/stable/generated/mne.concatenate_epochs.html).

It would be nice to have the option to get non-concatenated epochs out of a paradigm. Maybe paradigm.get_data(..., concatenate=False), or another change in the API?

PierreGtch avatar Jul 27 '23 09:07 PierreGtch

  • [ ] If this feature gets implemented, we should demonstrate it in the disk_cache example

PierreGtch avatar Jul 28 '23 08:07 PierreGtch