mne_hfo.io.write_annotations¶
- 
mne_hfo.io.write_annotations(annot_df, fname, intended_for, root, description=None)[source]¶ Write annotations dataframe to disc.
- Parameters
 annot_df : pd.DataFrame
The annotations DataFrame.
fname : str | pathlib.Path
The BIDS filename to write annotations to.
intended_for : str | pathlib.Path | BIDSPath
The
IntendedForBIDS keyword corresponding to theRawfile that the Annotations were created from.root : str | pathlib.Path
The root of the BIDS dataset.
description : str | None
The description of the Annotations file. If None (default), will describe it as HFO events detected using mne-hfo.
- :rtype: :py:obj:`None`