mne-tools / mne-tools/mne-python
Annotations to_data_frame with all the options similar to Raw.to_data_frame
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
Annotations has a convenience function to go to a data frame, and so does Raw. However, Raw has significantly more flexibility and options.
Now that Annotations also has channel picks, almost all the options that Raw.to_data_frame has can be also added to Annotations.
Describe your proposed implementation
Implement Annotations.to_data_frame() with parameters of Raw.to_data_frame().
Additional comments
See current Raw.to_data_frame(): https://mne.tools/stable/generated/mne.io.Raw.html#mne.io.Raw
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 comparing the current Annotations convenience function with Raw.to_data_frame(), using the linked Raw API documentation as the reference. Done means Annotations.to_data_frame() supports the parameters available on Raw.to_data_frame(), including the options enabled by annotation channel picks; the issue names no implementation files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100