load_vmrk_scoring

load_vmrk_scoring(filename, Fs)

LOAD_VMRK_SCORING Extract stages and times from a BrainVision .vmrk scoring file

Usage:

[stages, times] = load_vmrk_scoring(filename, Fs)

Inputs:

filename : char - full filepath to .vmrk file – required Fs : double - sampling frequency in Hz – required

Outputs:

stages : Nx1 double - stage at each time (5=Wake, 4=REM, 3=N1, 2=N2, 1=N3, 0=Undefined) times : Nx1 double - timestamps for stages (seconds)

See also: import_vmrk, read_staging

∿∿∿ Prerau Laboratory MATLAB Codebase · sleepEEG.org ∿∿∿