mne.viz.compare_fiff#
- mne.viz.compare_fiff(fname_1, fname_2, fname_out=None, show=True, indent=' ', read_limit=inf, max_str=30, verbose=None)[source]#
Compare the contents of two fiff files using diff and show_fiff.
- Parameters:
- fname_1
str
First file to compare.
- fname_2
str
Second file to compare.
- fname_out
str
|None
Filename to store the resulting diff. If None, a temporary file will be created.
- show
bool
If True, show the resulting diff in a new tab in a web browser.
- indent
str
How to indent the lines.
- read_limit
int
Max number of bytes of data to read from a tag. Can be np.inf to always read all data (helps test read completion).
- max_str
int
Max number of characters of string representation to print for each tag’s data.
- verbose
bool
|str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- fname_1
- Returns:
- fname_out
str
The filename used for storing the diff. Could be useful for when a temporary file is used.
- fname_out