mne.open_report¶
-
mne.
open_report
(fname, **params)[source]¶ Read a saved report or, if it doesn’t exist yet, create a new one.
The returned report can be used as a context manager, in which case any changes to the report are saved when exiting the context block.
- Parameters
- fname
str
The file containing the report, stored in the HDF5 format. If the file does not exist yet, a new report is created that will be saved to the specified file.
- **paramskwargs
When creating a new report, any named parameters other than
fname
are passed to the__init__
function of theReport
object. When reading an existing report, the parameters are checked with the loaded report and an exception is raised when they don’t match.
- fname
- Returns
- reportinstance of
Report
The report.
- reportinstance of