Allow `paradigm.get_data()` to return non-loaded Epochs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 264
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 23
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the paradigms' get_data implementations and the behavior of mne.concatenate_epochs. Determine how an API option could preserve non-loaded, non-concatenated Epochs and Raws without forcing them to load. Done means the selected behavior is exposed consistently and covered by tests showing preload=False data remains non-loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100