Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/dev/13884.newfeature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ``overrides`` parameter to :func:`mne.io.read_raw_brainvision` for reading non-spec-compliant ``.vhdr`` files where the header contradicts the actual layout (e.g. renamed BIDS siblings, missing ``MarkerFile=``, truncated ``[Channel Infos]``). Accepts a dict with keys ``data_fname``, ``marker_fname``, ``n_channels``, ``sfreq``, ``ch_names``, ``units_fallback``, ``data_orientation``, ``data_format``, and ``binary_format``; see the function docstring for details. Missing or empty ``MarkerFile=`` is now also tolerated natively (per the BV Core Data Format spec). When ``MarkerFile=`` names a path that does not exist (common after BIDS renames), :func:`mne.io.read_raw_brainvision` now falls back to the co-located ``<stem>.vmrk`` next to the ``.vhdr`` and warns, instead of raising :class:`FileNotFoundError`, by `Bruno Aristimunha`_.
Loading
Loading