mne_bids.copyfiles.copyfile_brainvision#
- mne_bids.copyfiles.copyfile_brainvision(vhdr_src, vhdr_dest, anonymize=None, *, verbose=None)[source]#
Copy a BrainVision file triplet to a new location and repair links.
The BrainVision file format consists of three files: .vhdr, .eeg/.dat, and .vmrk The .eeg/.dat and .vmrk files associated with the .vhdr file will be given names as in
vhdr_destwith adjusted extensions. Internal file pointers will be fixed.- Parameters:
- vhdr_srcpath-like
The source path of the .vhdr file to be copied.
- vhdr_destpath-like
The destination path of the .vhdr file.
- anonymize
dict|None If None (default), no anonymization is performed. If dict, data will be anonymized depending on the keys provided with the dict:
daysbackis a required key,keep_hisis an optional key.daysbackintNumber of days by which to move back the recording date in time. In studies with multiple subjects the relative recording date differences between subjects can be kept by using the same number of
daysbackfor all subject anonymizations.daysbackshould be great enough to shift the date prior to 1925 to conform with BIDS anonymization rules.keep_hisboolBy default (False), all subject information next to the recording date will be overwritten as well. If True, keep subject information apart from the recording date.
- 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.