You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing documentation for onset, duration, description attributes in Annotations class? #12379
A colleague of mine who is a bit of an MNE power user had no idea that you can do something like raw.annotations.onset to retrieve an array of the onsets of all individual annotations:
Hi @scott-huberty , I’d like to work on this documentation improvement. I can add clear API docs for the onset, duration, and description attributes of Annotations, along with a short example showing how to access them. Could you please assign this issue to me?
Activity
larsoner commentedon Jan 23, 2024
Yeah we could add them. I think we get them for free (maybe?) if we do:
Or something like this
scott-huberty commentedon Jan 23, 2024
Ok I'll test it out and open a PR when I have some time.
hoechenberger commentedon Jan 24, 2024
(Still thinking these should all be pluralized but this is a different discussion I suppose)
Famous077 commentedon Feb 23, 2026
Hi @scott-huberty , I’d like to work on this documentation improvement. I can add clear API docs for the
onset,duration, anddescriptionattributes ofAnnotations, along with a short example showing how to access them. Could you please assign this issue to me?tsbinns commentedon Feb 23, 2026
@Famous077 Thanks for wanting to contribute. We don't typically assign issues to users. Just feel free to open a PR whenever you have something.
Famous077 commentedon Feb 24, 2026
@tsbinns Thanks for the clarification. I've already implemented the fix and
raised a PR. Happy to update based on your feedback.