mne-tools / mne-tools/mne-python
concatenate raws and keep the temporality
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 1.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 100
Description
Describe the new feature or enhancement
Allow users to keep the temporality when concatenating multiple Raw
Describe your proposed implementation
Either by improving the current mne.concatenate_raws with a flag or by creating a new function (where ?) that would fill the gap with 0s ? and annotate them with either GAP or BAD_ACQ_SKIP ?
Describe possible alternatives
We could also provide a non-continous Raw.times ? But I am not sure it won't break anything else
Additional comments
I think it would be very interesting because a lot of EEG recording sessions are made of multiple recordings due to electronic issues, software issues,...
I would be glad to integrate it, I would just need some directions. Thanks !
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 existing mne.concatenate_raws behavior and the Raw.times representation. Determine how concatenated recordings should preserve temporality, including whether gaps are filled with zeros and annotated as GAP or BAD_ACQ_SKIP. Done means the chosen API preserves the timing across multiple Raw recordings without breaking existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100