mne_bids.get_matched_empty_room

mne_bids.get_matched_empty_room(bids_fname, bids_root)[source]

Get matching empty room file.

Parameters
bids_fnamestr

The filename for which to find the matching empty room file.

bids_rootstr | pathlib.Path

Path to the BIDS root folder.

Returns
er_fnamestr | None.

The filename corresponding to the empty room. Returns None if no file found.