- mne_bids.copyfiles.copyfile_brainvision(vhdr_src, vhdr_dest, anonymize=None, verbose=None)#
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_dest with adjusted extensions. Internal file pointers will be fixed.
The source path of the .vhdr file to be copied.
The destination path of the .vhdr file.
If None (default), no anonymization is performed. If dict, data will be anonymized depending on the keys provided with the dict: daysback is a required key, keep_his is an optional key.
Number 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 daysback for all subject anonymizations. daysback should be great enough to shift the date prior to 1925 to conform with BIDS anonymization rules.
By 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.