Renaming Brain Vision Recorder EEG recordings

Tweet Share Email Share Share FollowRenaiming Brain Vision Recorder files is a pain. Here’s a python script that makes it (more of) a breeze. The problem Brain Vision Recorder is a widely used software for EEG-recordings. Every EEG-recording is saved as three files: One .eeg file, containing all the data One .vmrk/.amrk/.bmrk file, containing markers and a reference to the .eeg file One .vhdr/.ahdr/.bhdr file, containing header information and references to the marker file and data file. This is the file that represents the recording and opened by analysis software Because of these internal references between the files, it is …

Computing half-area latency in matlab/EEGLAB

Tweet Share Email Share Share FollowIn EEG research the latency of a component (hidden in the ERP) is conventionally measured as the time when the ERP is most extreme. However, this method is not well warranted, as should be clear to anyone who have read Steven Lucks excellent chapters on ERP analysis in “An Introduction to the Event Related Potential Technique”. Instead he proposes a 50% area latency method: the latency is the point in time where the area under the curve is equal on both sides. It yields the same latencies as peak-measures on symmetrical ERPs and more correct latencies …