mne.viz.compare_fiff(fname_1, fname_2, fname_out=None, show=True, indent=' ', read_limit=inf, max_str=30, verbose=None)

Compare the contents of two fiff files using diff and show_fiff


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).


fname_out : str

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