We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The new yasa.Hypnogram class has a method .as_events() that complies with some of the MNE annotation norms and possibly BIDS event files.
.as_events()
It would be nice to have an example of this in the documentation, either in a notebook or a docstrings example.
One possibility is an example on how to add the events returned from hyp.as_events() to an MNE raw object with raw.set_annotations().
hyp.as_events()
raw.set_annotations()
annotations = mne.Annotations(onset, duration, description) raw.set_annotations(annotations)
See MNE events_from_annotations and annotations_from_events.
The text was updated successfully, but these errors were encountered:
remrama
No branches or pull requests
The new yasa.Hypnogram class has a method
.as_events()
that complies with some of the MNE annotation norms and possibly BIDS event files.It would be nice to have an example of this in the documentation, either in a notebook or a docstrings example.
One possibility is an example on how to add the events returned from
hyp.as_events()
to an MNE raw object withraw.set_annotations()
.See MNE events_from_annotations and annotations_from_events.
The text was updated successfully, but these errors were encountered: