This documentation is for development version 0.18.dev0.

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, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns:
fname_out : str

The filename used for storing the diff. Could be useful for when a temporary file is used.